From e49cb96073f514edbe1b7a9854b49c47af35463c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 04:53:15 +0000 Subject: Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4667 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/serialisation') diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index 363e9c15..b8d0adbc 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -70,6 +70,8 @@ relative_uri(Glib::ustring base, const Glib::ustring uri, bool leading_slash) if (leading_slash && ret[0] != '/') ret = Glib::ustring("/") + ret; } + + serd_node_free(&normal_base_uri_node); } if (leading_slash && ret[0] != '/') { @@ -130,6 +132,7 @@ get_properties(Ingen::World* world, } } + free((uint8_t*)out.buf); sratom_free(sratom); return props; } -- cgit v1.2.1