aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r--camel/camel-object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c
index bdb17fa177..7f53a68bfe 100644
--- a/camel/camel-object.c
+++ b/camel/camel-object.c
@@ -336,8 +336,10 @@ obj_finalize (CamelObject * obj)
obj->s.magic = CAMEL_OBJECT_FINALIZED_VALUE;
if (obj->event_to_hooklist) {
+#if 0
g_hash_table_foreach (obj->event_to_hooklist, (GHFunc) g_free,
NULL);
+#endif
g_hash_table_destroy (obj->event_to_hooklist);
obj->event_to_hooklist = NULL;
}