aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-data-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-data-wrapper.c')
-rw-r--r--camel/camel-data-wrapper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c
index 86be8117bf..94c222e9a4 100644
--- a/camel/camel-data-wrapper.c
+++ b/camel/camel-data-wrapper.c
@@ -108,6 +108,9 @@ finalize (GtkObject *object)
if (camel_data_wrapper->mime_type)
gmime_content_field_unref (camel_data_wrapper->mime_type);
+ if (camel_data_wrapper->stream)
+ gtk_object_unref (GTK_OBJECT (camel_data_wrapper->stream));
+
GTK_OBJECT_CLASS (parent_class)->finalize (object);
}