From 3723d115a6f4d30f652957d131c2a6ea56ad1dd0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 24 Apr 2012 22:06:24 +0000 Subject: 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 --- src/gtk2_in_qt4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gtk2_in_qt4.cpp') 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; -- cgit v1.2.1