diff options
Diffstat (limited to 'src/x11_in_gtk3.c')
-rw-r--r-- | src/x11_in_gtk3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x11_in_gtk3.c b/src/x11_in_gtk3.c index 0ff0ead..6dd00f6 100644 --- a/src/x11_in_gtk3.c +++ b/src/x11_in_gtk3.c @@ -70,6 +70,7 @@ x_window_is_valid(SuilX11Wrapper* socket) &root, &parent, &children, &childcount); for (unsigned i = 0; i < childcount; ++i) { if (children[i] == (Window)socket->instance->ui_widget) { + XFree(children); return true; } } |