From efed81cb9a6f372e9fea611bdeb7af66aa1b740f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Jul 2018 12:53:12 +0200 Subject: Use serd_free --- src/Parser.cpp | 2 +- wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Parser.cpp b/src/Parser.cpp index fe58d995..dace07ed 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -65,7 +65,7 @@ Parser::find_resources(Sord::World& world, if (!f.end()) { uint8_t* p = serd_file_uri_parse(f.get_object().to_u_string(), nullptr); file_path = (const char*)p; - free(p); + serd_free(p); } resources.insert(ResourceRecord(resource, file_path)); } diff --git a/wscript b/wscript index 235d3113..363dc5f9 100644 --- a/wscript +++ b/wscript @@ -86,7 +86,7 @@ def configure(conf): autowaf.check_pkg(conf, 'raul', uselib_store='RAUL', atleast_version='0.8.10', mandatory=True) autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', - atleast_version='0.18.0', mandatory=False) + atleast_version='0.30.0', mandatory=False) autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', atleast_version='0.12.0', mandatory=False) autowaf.check_pkg(conf, 'portaudio-2.0', uselib_store='PORTAUDIO', -- cgit v1.2.1