summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-10 15:48:26 +0000
committerDavid Robillard <d@drobilla.net>2015-09-10 15:48:26 +0000
commit1936b55421086fcd1ae4fa11cb72b55421f4753c (patch)
treebbb0a2e41d9f863e884f1cf64f69603da4c63ba9 /src
parentb34ae1bec55b458a4b4b2aef335a81361f1a43ae (diff)
downloadsord-1936b55421086fcd1ae4fa11cb72b55421f4753c.tar.gz
sord-1936b55421086fcd1ae4fa11cb72b55421f4753c.tar.bz2
sord-1936b55421086fcd1ae4fa11cb72b55421f4753c.zip
Fix minor memory leak in sordi.
git-svn-id: http://svn.drobilla.net/sord/trunk@328 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r--src/sordi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sordi.c b/src/sordi.c
index 891e3e7..6ec5faf 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -163,6 +163,7 @@ main(int argc, char** argv)
base_uri_node = serd_node_new_file_uri(in_path, NULL, &base_uri, false);
}
+ free(in_path);
if (!base_uri_node.buf) {
fprintf(stderr, "Missing base URI\n");
return 1;