summaryrefslogtreecommitdiffstats
path: root/test/failed_lib_descriptor.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-29 04:21:25 +0000
committerDavid Robillard <d@drobilla.net>2015-10-29 04:21:25 +0000
commitefc94d38733ac94c04f3c2d01d2eb058b5e3d4d5 (patch)
treee45e7481b6171ba121ceab23a8e74111cca80af9 /test/failed_lib_descriptor.lv2
parentfa730d2423662aeb4c34f7395e448e3316358823 (diff)
downloadlilv-efc94d38733ac94c04f3c2d01d2eb058b5e3d4d5.tar.gz
lilv-efc94d38733ac94c04f3c2d01d2eb058b5e3d4d5.tar.bz2
lilv-efc94d38733ac94c04f3c2d01d2eb058b5e3d4d5.zip
Fix test suite memory leaks
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5796 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/failed_lib_descriptor.lv2')
-rw-r--r--test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c b/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
index 2bdc999..b82eb0a 100644
--- a/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
+++ b/test/failed_lib_descriptor.lv2/test_failed_lib_descriptor.c
@@ -28,6 +28,7 @@ main(int argc, char** argv)
lilv_world_load_bundle(world, bundle_uri);
free(abs_bundle);
serd_node_free(&bundle);
+ lilv_node_free(bundle_uri);
LilvNode* plugin_uri = lilv_new_uri(world, PLUGIN_URI);
const LilvPlugins* plugins = lilv_world_get_all_plugins(world);
@@ -37,6 +38,7 @@ main(int argc, char** argv)
LilvInstance* instance = lilv_plugin_instantiate(plugin, 48000.0, NULL);
TEST_ASSERT(!instance);
+ lilv_node_free(plugin_uri);
lilv_world_free(world);
return 0;