diff options
author | David Robillard <d@drobilla.net> | 2018-07-22 12:49:04 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-07-22 12:49:04 +0200 |
commit | 77011082acde13963ccde49e7059e1f9b24e4549 (patch) | |
tree | 57dd2972fd5fdda898d43edf3cf30707422fd75c /src | |
parent | 86b3bada7bd0e377c2749f5c87cb564321758184 (diff) | |
download | sratom-77011082acde13963ccde49e7059e1f9b24e4549.tar.gz sratom-77011082acde13963ccde49e7059e1f9b24e4549.tar.bz2 sratom-77011082acde13963ccde49e7059e1f9b24e4549.zip |
Use serd_free
Diffstat (limited to 'src')
-rw-r--r-- | src/sratom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |