From afe97dcc3a9cdd8967f8ff3343ce5bfb5038cffc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 21 Apr 2012 01:21:24 +0000 Subject: [PATCH] Fix crash when removing an LV2 plugin or on shutdown. git-svn-id: svn://localhost/ardour2/branches/3.0@12050 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/lv2_plugin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index c6509f0203..b11f3f4b5d 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -222,6 +222,7 @@ LV2Plugin::init(void* c_plugin, framecnt_t rate) _data_access_feature.URI = "http://lv2plug.in/ns/ext/data-access"; _make_path_feature.URI = LV2_STATE__makePath; _work_schedule_feature.URI = LV2_WORKER__schedule; + _work_schedule_feature.data = NULL; LilvPlugin* plugin = _impl->plugin;