diff options
author | David Robillard <d@drobilla.net> | 2018-07-22 12:53:12 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-08-07 08:43:23 +0200 |
commit | efed81cb9a6f372e9fea611bdeb7af66aa1b740f (patch) | |
tree | 924cc87e712aa6ce7521c53199245fc5258d6c7c /src | |
parent | d35f222ac3ae5828f028b4158aaeb8017227f7ce (diff) | |
download | ingen-efed81cb9a6f372e9fea611bdeb7af66aa1b740f.tar.gz ingen-efed81cb9a6f372e9fea611bdeb7af66aa1b740f.tar.bz2 ingen-efed81cb9a6f372e9fea611bdeb7af66aa1b740f.zip |
Use serd_free
Diffstat (limited to 'src')
-rw-r--r-- | src/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 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)); } |