mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue