summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-20 14:31:08 +0000
committerDavid Robillard <d@drobilla.net>2011-06-20 14:31:08 +0000
commitd701e57408548203a3f8147b5cb95764d90727d7 (patch)
tree1fa84e8a8a5e3aca0a15edc9caf413ba1565dbba /src
parentb02e600077bace483392c3908129e6c7db9bf32c (diff)
downloadlilv-d701e57408548203a3f8147b5cb95764d90727d7.tar.gz
lilv-d701e57408548203a3f8147b5cb95764d90727d7.tar.bz2
lilv-d701e57408548203a3f8147b5cb95764d90727d7.zip
Fix memory leak
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3410 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 065a37d..35f06fd 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -90,7 +90,7 @@ lilv_ui_is_supported(const LilvUI* ui,
lilv_node_as_uri(type));
if (q) {
if (ui_type) {
- *ui_type = lilv_node_duplicate(type);
+ *ui_type = type;
}
return q;
}