diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/x11_in_gtk2.c | 1 | ||||
-rw-r--r-- | src/x11_in_gtk3.c | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -4,8 +4,9 @@ suil (0.8.7) unstable; * Add support for Qt5 in Gtk2 * Add suil_init() to support early initialization and passing any necessary information that may be needed in the future (thanks Stefan Westerfeld) + * Fix memory leaks - -- David Robillard <d@drobilla.net> Sat, 18 Mar 2017 12:01:55 +0100 + -- David Robillard <d@drobilla.net> Sun, 07 May 2017 13:23:10 +0200 suil (0.8.4) stable; diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index dc69477..43e1fa1 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -72,6 +72,7 @@ x_window_is_valid(SuilX11Wrapper* socket) return true; } } + XFree(children); return false; } diff --git a/src/x11_in_gtk3.c b/src/x11_in_gtk3.c index 86f8bde..c21a23f 100644 --- a/src/x11_in_gtk3.c +++ b/src/x11_in_gtk3.c @@ -73,6 +73,7 @@ x_window_is_valid(SuilX11Wrapper* socket) return true; } } + XFree(children); return false; } |