From d3fff833545e4c912e8c5517818f9f6f225c0df8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 14 Aug 2015 00:57:09 +0000 Subject: 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 --- test/lilv_test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/lilv_test.c') 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, "")); - 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); -- cgit v1.2.1