From 7a329452d330e9679835ec7fd13dfb1048692715 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Oct 2015 00:40:15 +0000 Subject: Delete parent widget git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5739 a436a847-0d15-0410-975c-d299462d15a1 --- src/x11_in_qt4.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/x11_in_qt4.cpp b/src/x11_in_qt4.cpp index 107a4bd..8d12526 100644 --- a/src/x11_in_qt4.cpp +++ b/src/x11_in_qt4.cpp @@ -78,6 +78,10 @@ wrapper_free(SuilWrapper* wrapper) { SuilX11InQt4Wrapper* impl = (SuilX11InQt4Wrapper*)wrapper->impl; + if (impl->parent) { + delete impl->parent; + } + if (impl->host_widget) { delete impl->host_widget; } -- cgit v1.2.1