diff options
author | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
commit | 7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c (patch) | |
tree | dd5b03025c8984da6b52f5d1653ac140bf81c7e1 /test | |
parent | 7a68f1e59abd84574d8b8ccf6289b6c01bf428c6 (diff) | |
download | lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.gz lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.bz2 lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.zip |
Fix memory, file, and library leaks
Diffstat (limited to 'test')
-rw-r--r-- | test/lilv_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |