projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b407176
)
Another attempt fixing crash at exit on windows.
author
Robin Gareus
<robin@gareus.org>
Fri, 29 Jan 2016 17:22:57 +0000
(18:22 +0100)
committer
Robin Gareus
<robin@gareus.org>
Fri, 29 Jan 2016 17:22:57 +0000
(18:22 +0100)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index ef247109bd98f3462ab9bd805fa2b4d1ac1b2ef0..507e546adc7239362c84712e4ae80afbf0c8b5c4 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-2527,6
+2527,9
@@
LV2World::LV2World()
LV2World::~LV2World()
{
+ if (!world) {
+ return;
+ }
#ifdef HAVE_LV2_1_2_0
lilv_node_free(bufz_nominalBlockLength);
lilv_node_free(bufz_fixedBlockLength);
@@
-2570,6
+2573,7
@@
LV2World::~LV2World()
lilv_node_free(atom_Chunk);
lilv_node_free(atom_AtomPort);
lilv_world_free(world);
+ world = NULL;
}
void