From 567b4cc4fec495044e2e03d9f4d157fe65f3022a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Mar 2011 20:12:42 +0000 Subject: Fix memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3052 a436a847-0d15-0410-975c-d299462d15a1 --- src/slv2_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/slv2_internal.h') diff --git a/src/slv2_internal.h b/src/slv2_internal.h index 9f6638c..0752044 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -302,10 +302,11 @@ struct _SLV2Header* slv2_sequence_get_by_uri(GSequence* seq, SLV2Value uri); static inline SLV2Node slv2_node_copy(SLV2Node node) { - return node; + return sord_node_copy(node); } -static inline void slv2_node_free(SLV2Node node) { +static inline void slv2_node_free(SLV2World world, SLV2Node node) { + sord_node_free(world->world, node); } -- cgit v1.2.1