From: Mathieu Desnoyers Date: Sat, 21 May 2011 19:44:38 +0000 (-0400) Subject: Fix incorrect unref X-Git-Tag: v0.1~39 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=7d11cac68520597dfe2cbb67f17a1340d41fc0d9 Fix incorrect unref Signed-off-by: Mathieu Desnoyers --- diff --git a/types/types.c b/types/types.c index b9576ea3..3b48d83a 100644 --- a/types/types.c +++ b/types/types.c @@ -298,7 +298,7 @@ struct declaration_scope * scope->typedef_declarations = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, - (GDestroyNotify) definition_unref); + (GDestroyNotify) declaration_unref); scope->struct_declarations = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, (GDestroyNotify) declaration_unref);