aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-medium.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-medium.c')
-rw-r--r--camel/camel-medium.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-medium.c b/camel/camel-medium.c
index f3ff148c57..e96a1aa62c 100644
--- a/camel/camel-medium.c
+++ b/camel/camel-medium.c
@@ -131,6 +131,9 @@ _finalize (GtkObject *object)
g_hash_table_destroy (medium->headers);
}
+ if (medium->content)
+ gtk_object_unref(medium->content);
+
GTK_OBJECT_CLASS (parent_class)->finalize (object);
CAMEL_LOG_FULL_DEBUG ("Leaving CamelMedium::finalize\n");
}