[SCM] calf/master: Fix missed initialisation of instance pointer (found by paniq).

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:20 UTC 2013


The following commit has been merged in the master branch:
commit fa72e87ab4fc5d2706bce98eb3f0141e59218bc6
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Fri Sep 10 00:05:43 2010 +0100

    Fix missed initialisation of instance pointer (found by paniq).
    
    This might have caused GUI crashes in some LV2 hosts.

diff --git a/src/lv2gui.cpp b/src/lv2gui.cpp
index 6144cb1..9b8ba0a 100644
--- a/src/lv2gui.cpp
+++ b/src/lv2gui.cpp
@@ -108,7 +108,8 @@ plugin_proxy_base::plugin_proxy_base(const plugin_metadata_iface *metadata, LV2U
     
     write_function = wf;
     controller = c;
-    
+
+    instance = NULL;
     instance_handle = NULL;
     data_access = NULL;
     ext_ui_host = NULL;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list