From 7d11cac68520597dfe2cbb67f17a1340d41fc0d9 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 21 May 2011 15:44:38 -0400 Subject: [PATCH] Fix incorrect unref Signed-off-by: Mathieu Desnoyers --- types/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1