diff options
author | David Robillard <d@drobilla.net> | 2012-04-24 22:06:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-24 22:06:24 +0000 |
commit | 3723d115a6f4d30f652957d131c2a6ea56ad1dd0 (patch) | |
tree | 53839c92e3d8f4530ccc16959cdd6a6e820bb78d /src/gtk2_in_qt4.cpp | |
parent | d8df0d21ab8f2d28c8b0e32670594fa079425a1d (diff) | |
download | suil-3723d115a6f4d30f652957d131c2a6ea56ad1dd0.tar.gz suil-3723d115a6f4d30f652957d131c2a6ea56ad1dd0.tar.bz2 suil-3723d115a6f4d30f652957d131c2a6ea56ad1dd0.zip |
Fix crashes when wrapper widget is destroyed by toolkit before suil cleanup
function is called.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4264 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gtk2_in_qt4.cpp')
-rw-r--r-- | src/gtk2_in_qt4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp index 488614a..7629989 100644 --- a/src/gtk2_in_qt4.cpp +++ b/src/gtk2_in_qt4.cpp @@ -74,7 +74,7 @@ suil_wrapper_new(SuilHost* host, SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper)); wrapper->wrap = wrapper_wrap; - wrapper->free = (SuilWrapperFreeFunc)free; + wrapper->free = NULL; wrapper->impl = NULL; return wrapper; |