without drobilla's new stuff, LV2Plugin::_ui_type points to global data so do not try to free it
git-svn-id: svn://localhost/ardour2/branches/3.0@9464 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
55586be83a
commit
92e72260b1
@ -261,8 +261,11 @@ LV2Plugin::~LV2Plugin ()
|
||||
slv2_instance_free(_instance);
|
||||
slv2_value_free(_name);
|
||||
slv2_value_free(_author);
|
||||
#if defined(HAVE_NEW_SLV2) and defined(HAVE_SUIL)
|
||||
slv2_value_free(_ui_type);
|
||||
|
||||
#else
|
||||
/* _ui_type points to a global, so leave it alone */
|
||||
#endif
|
||||
delete [] _control_data;
|
||||
delete [] _shadow_data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user