diff options
author | David Robillard <d@drobilla.net> | 2011-12-09 23:37:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-09 23:37:55 +0000 |
commit | f785b5cb807e83015e4fc44a7da5273060f54633 (patch) | |
tree | e930520357b92de568d78590358c04bf27ca103a /test | |
parent | c0c37097cf3ae4f7b7e4067f9ffcd9826808782c (diff) | |
download | lilv-f785b5cb807e83015e4fc44a7da5273060f54633.tar.gz lilv-f785b5cb807e83015e4fc44a7da5273060f54633.tar.bz2 lilv-f785b5cb807e83015e4fc44a7da5273060f54633.zip |
Fix memory leak in test program.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3844 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r-- | test/lilv_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c index 2e17fb5..b5c5302 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -645,6 +645,7 @@ test_plugin(void) TEST_ASSERT(!lilv_plugin_has_extension_data(plug, noextdata)); TEST_ASSERT(lilv_nodes_size(extdatas) == 1); TEST_ASSERT(lilv_node_equals(lilv_nodes_get_first(extdatas), extdata)); + lilv_node_free(noextdata); lilv_node_free(extdata); lilv_nodes_free(extdatas); |