From d701e57408548203a3f8147b5cb95764d90727d7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 20 Jun 2011 14:31:08 +0000 Subject: Fix memory leak git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3410 a436a847-0d15-0410-975c-d299462d15a1 --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.1