mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
fix memory leak in case LV2 GUI fails.
This commit is contained in:
parent
b489385bf1
commit
12ad41675d
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue