summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-29 22:47:17 +0000
committerDavid Robillard <d@drobilla.net>2015-01-29 22:47:17 +0000
commit4ff9f0b0b78681e4015feb1b2a54ec6f7becf563 (patch)
treefc993fcb094b3d4e36fbf36f892c1fa44536889a
parent65e4c42eaa4aecde7759211765d14d836a83fb5b (diff)
downloadlilv-4ff9f0b0b78681e4015feb1b2a54ec6f7becf563.tar.gz
lilv-4ff9f0b0b78681e4015feb1b2a54ec6f7becf563.tar.bz2
lilv-4ff9f0b0b78681e4015feb1b2a54ec6f7becf563.zip
Fix memory leak.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5527 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/world.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.c b/src/world.c
index 8a5182d..cd9467a 100644
--- a/src/world.c
+++ b/src/world.c
@@ -680,6 +680,7 @@ load_dir_entry(const char* dir, const char* name, void* data)
lilv_world_load_bundle(world, node);
lilv_node_free(node);
serd_node_free(&suri);
+ free(path);
}
/** Load all bundles in the directory at `dir_path`. */