projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b489385
)
fix memory leak in case LV2 GUI fails.
author
Robin Gareus
<robin@gareus.org>
Thu, 19 Feb 2015 19:39:26 +0000
(20:39 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 19 Feb 2015 19:39:26 +0000
(20:39 +0100)
gtk2_ardour/lv2_plugin_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/lv2_plugin_ui.cc
b/gtk2_ardour/lv2_plugin_ui.cc
index 8a6d5260b496f33274e4ba2fc6f58b8f3d86f8d7..3a64a830d16d43a4adad471789d2b36871bdadca 100644
(file)
--- a/
gtk2_ardour/lv2_plugin_ui.cc
+++ b/
gtk2_ardour/lv2_plugin_ui.cc
@@
-294,6
+294,9
@@
LV2PluginUI::lv2ui_instantiate(const std::string& title)
#endif
if (!ui_bundle_path || !ui_binary_path) {
error << _("failed to get path for UI bindle or binary") << endmsg;
+ free(ui_bundle_path);
+ free(ui_binary_path);
+ free(features);
return;
}