From f785b5cb807e83015e4fc44a7da5273060f54633 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Dec 2011 23:37:55 +0000 Subject: Fix memory leak in test program. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3844 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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); -- cgit v1.2.1