From 77011082acde13963ccde49e7059e1f9b24e4549 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Jul 2018 12:49:04 +0200 Subject: Use serd_free --- src/sratom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sratom.c') diff --git a/src/sratom.c b/src/sratom.c index c67fabe..abe81fa 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -649,7 +649,7 @@ read_node(Sratom* sratom, SerdNode rel = serd_node_new_relative_uri(&uri, &sratom->base, NULL, NULL); uint8_t* path = serd_file_uri_parse(rel.buf, NULL); lv2_atom_forge_path(forge, (const char*)path, strlen((const char*)path)); - free(path); + serd_free(path); serd_node_free(&rel); } else { lv2_atom_forge_urid(forge, map->map(map->handle, str)); -- cgit v1.2.1