projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8ab69cb
)
amend 311adde (LV2-1.0.0 compat)
author
Robin Gareus
<robin@gareus.org>
Mon, 26 Oct 2015 12:24:23 +0000
(13:24 +0100)
committer
Robin Gareus
<robin@gareus.org>
Mon, 26 Oct 2015 12:24:23 +0000
(13:24 +0100)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index bed66b62afbf5b65c985db64e169acd9076d98f6..a9a4ac10f75ca834352ba98f4d3e778447c9a7cf 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-266,7
+266,9
@@
struct LV2Plugin::Impl {
LV2_Atom_Forge forge;
LV2_Atom_Forge ui_forge;
int32_t block_length;
+#ifdef HAVE_LV2_1_2_0
LV2_Options_Option* options;
+#endif
};
LV2Plugin::LV2Plugin (AudioEngine& engine,
@@
-692,7
+694,9
@@
LV2Plugin::~LV2Plugin ()
lilv_state_free(_impl->state);
lilv_node_free(_impl->name);
lilv_node_free(_impl->author);
+#ifdef HAVE_LV2_1_2_0
free(_impl->options);
+#endif
free(_features);
free(_make_path_feature.data);