summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-07-22 12:49:04 +0200
committerDavid Robillard <d@drobilla.net>2018-07-22 12:49:04 +0200
commit77011082acde13963ccde49e7059e1f9b24e4549 (patch)
tree57dd2972fd5fdda898d43edf3cf30707422fd75c
parent86b3bada7bd0e377c2749f5c87cb564321758184 (diff)
downloadsratom-77011082acde13963ccde49e7059e1f9b24e4549.tar.gz
sratom-77011082acde13963ccde49e7059e1f9b24e4549.tar.bz2
sratom-77011082acde13963ccde49e7059e1f9b24e4549.zip
Use serd_free
-rw-r--r--src/sratom.c2
-rw-r--r--wscript2
2 files changed, 2 insertions, 2 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));
diff --git a/wscript b/wscript
index 2a5852d..21c7635 100644
--- a/wscript
+++ b/wscript
@@ -41,7 +41,7 @@ def configure(conf):
autowaf.check_pkg(conf, 'lv2', uselib_store='LV2',
atleast_version='1.10.0', mandatory=True)
autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
- atleast_version='0.23.0', mandatory=True)
+ atleast_version='0.29.4', mandatory=True)
autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
atleast_version='0.12.0', mandatory=True)