Skip to content

Commit

Permalink
Update src/platform_impl/linux/x11/util/geometry.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Røyset <maroider@protonmail.com>
  • Loading branch information
rukai and maroider committed Dec 24, 2021
1 parent 3d5e8a8 commit e0484d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_impl/linux/x11/util/geometry.rs
Expand Up @@ -248,7 +248,7 @@ impl XConnection {
);

// The list of children isn't used
if children.is_null() {
if !children.is_null() {
(self.xlib.XFree)(children as *mut _);
}

Expand Down

0 comments on commit e0484d8

Please sign in to comment.