Fix incorrect unref
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 21 May 2011 19:44:38 +0000 (15:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 21 May 2011 19:44:38 +0000 (15:44 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
types/types.c

index b9576ea3109ab98e07ff3473f23983a5a0d77e14..3b48d83abe0da025479690079d5a2a96cdd916eb 100644 (file)
@@ -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);
This page took 0.033414 seconds and 4 git commands to generate.