summaryrefslogtreecommitdiffstats
path: root/src/serialisation/Parser.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-12 04:53:15 +0000
committerDavid Robillard <d@drobilla.net>2012-08-12 04:53:15 +0000
commite49cb96073f514edbe1b7a9854b49c47af35463c (patch)
treea20d32b572f8c28cba950ba53e9d0c595cf0b6c7 /src/serialisation/Parser.cpp
parentf1440f1247d71a4867a50eede068730743eb8e09 (diff)
downloadingen-e49cb96073f514edbe1b7a9854b49c47af35463c.tar.gz
ingen-e49cb96073f514edbe1b7a9854b49c47af35463c.tar.bz2
ingen-e49cb96073f514edbe1b7a9854b49c47af35463c.zip
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4667 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation/Parser.cpp')
-rw-r--r--src/serialisation/Parser.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}