Browse Source

Use serd_free

zrythm_meson
David Robillard 4 years ago
parent
commit
77011082ac
  1. 2
      src/sratom.c
  2. 2
      wscript

2
src/sratom.c

@ -649,7 +649,7 @@ read_node(Sratom* sratom, @@ -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));

2
wscript

@ -41,7 +41,7 @@ def configure(conf): @@ -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)

Loading…
Cancel
Save