diff options
author | David Robillard <d@drobilla.net> | 2014-05-20 22:11:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-05-20 22:11:26 +0000 |
commit | ba5b4c2e28189410084b84b8c86c27c974fb734a (patch) | |
tree | da0f01f18b3b7e8f6ec9ab5cd1c43bc158aa987e /test | |
parent | 6ac6d7448aa0a976e7347daf8b48d6e56216af85 (diff) | |
download | lilv-ba5b4c2e28189410084b84b8c86c27c974fb734a.tar.gz lilv-ba5b4c2e28189410084b84b8c86c27c974fb734a.tar.bz2 lilv-ba5b4c2e28189410084b84b8c86c27c974fb734a.zip |
Fix test suite memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5404 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r-- | test/lilv_test.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, "<http://example.org>")); free(tok); |