From 7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Sep 2016 15:13:52 -0400 Subject: Fix memory, file, and library leaks --- test/lilv_test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/lilv_test.c b/test/lilv_test.c index 7c7e06d..106f5c8 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -2073,6 +2073,7 @@ test_reload_bundle(void) // Load new bundle again (noop) lilv_world_load_bundle(world, bundle_uri); + cleanup_uris(); lilv_node_free(bundle_uri); lilv_world_free(world); world = NULL; @@ -2203,7 +2204,10 @@ test_get_symbol(void) lilv_node_free(frag); lilv_node_free(query_sym); lilv_node_free(query); + lilv_node_free(path_sym); + lilv_node_free(path); lilv_node_free(plug_sym); + cleanup_uris(); return 1; } -- cgit v1.2.1