From ba5b4c2e28189410084b84b8c86c27c974fb734a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 20 May 2014 22:11:26 +0000 Subject: Fix test suite memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5404 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/lilv_test.c') diff --git a/test/lilv_test.c b/test/lilv_test.c index 102ffc6..3727c47 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -269,6 +269,11 @@ test_value(void) TEST_ASSERT(!strcmp(lilv_node_as_uri(host_abs), "file://host/foo/bar")); TEST_ASSERT(!strncmp(lilv_node_as_uri(host_rel), "file://host/", 12)); + lilv_node_free(host_rel); + lilv_node_free(host_abs); + lilv_node_free(loc_rel); + lilv_node_free(loc_abs); + char* tok = lilv_node_get_turtle_token(uval); TEST_ASSERT(!strcmp(tok, "")); free(tok); -- cgit v1.2.1