summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-14 00:57:09 +0000
committerDavid Robillard <d@drobilla.net>2015-08-14 00:57:09 +0000
commitd3fff833545e4c912e8c5517818f9f6f225c0df8 (patch)
treebfad57841cf817a02a8c6bcdbdc2363c3357d753 /test
parent8468b9a199358d76c2e4d1a0ef836373d5fc08cd (diff)
downloadlilv-d3fff833545e4c912e8c5517818f9f6f225c0df8.tar.gz
lilv-d3fff833545e4c912e8c5517818f9f6f225c0df8.tar.bz2
lilv-d3fff833545e4c912e8c5517818f9f6f225c0df8.zip
Add lilv_free() for systems picky about such things.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5706 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index c40dc76..e89239c 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -269,16 +269,16 @@ test_value(void)
char* tok = lilv_node_get_turtle_token(uval);
TEST_ASSERT(!strcmp(tok, "<http://example.org>"));
- free(tok);
+ lilv_free(tok);
tok = lilv_node_get_turtle_token(sval);
TEST_ASSERT(!strcmp(tok, "Foo"));
- free(tok);
+ lilv_free(tok);
tok = lilv_node_get_turtle_token(ival);
TEST_ASSERT(!strcmp(tok, "42"));
- free(tok);
+ lilv_free(tok);
tok = lilv_node_get_turtle_token(fval);
TEST_ASSERT(!strncmp(tok, "1.6180", 6));
- free(tok);
+ lilv_free(tok);
LilvNode* uval_e = lilv_new_uri(world, "http://example.org");
LilvNode* sval_e = lilv_new_string(world, "Foo");
@@ -701,7 +701,7 @@ test_plugin(void)
char* blank_tok = lilv_node_get_turtle_token(blank);
TEST_ASSERT(!strncmp(blank_tok, "_:", 2));
TEST_ASSERT(!strcmp(blank_tok + 2, blank_str));
- free(blank_tok);
+ lilv_free(blank_tok);
lilv_node_free(blank_p);
lilv_nodes_free(blanks);