aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-05-12 02:39:53 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-12 02:39:53 +0800
commite17b3c90f4a2fc285d83a8badd780b258629b853 (patch)
tree33094dacf028a05a025f5ac1ff7855a64f4e3622 /camel/camel-mime-part.c
parent62c8174bac8139b29a71ea79c879c4cbdd6cd064 (diff)
downloadgsoc2013-evolution-e17b3c90f4a2fc285d83a8badd780b258629b853.tar.gz
gsoc2013-evolution-e17b3c90f4a2fc285d83a8badd780b258629b853.tar.zst
gsoc2013-evolution-e17b3c90f4a2fc285d83a8badd780b258629b853.zip
Big bunch o memleaks fixed.
2000-05-11 NotZed <NotZed@HelixCode.com> * camel-mime-part.c (write_to_stream): Unref the filter after adding it to the filtering stream. * providers/mbox/camel-mbox-summary.c (camel_mbox_summary_finalise): Free the folder path. * camel-folder-summary.c (camel_folder_summary_finalise): Free the summary path. * camel-internet-address.c (internet_decode): Free multiple entry addresses properly. * camel-mime-utils.c (header_decode_mailbox): Plugged another memleak, free text after converting it. (header_decode_addrspec): More leaks plugged. * camel-mime-message.c (finalize): Free message_uid. (finalize): Free the recipients hashtable. svn path=/trunk/; revision=2989
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 279c1139de..af5b5cf6aa 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -532,6 +532,7 @@ write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream,
if (filter) {
filter_stream = camel_stream_filter_new_with_stream(stream);
camel_stream_filter_add(filter_stream, filter);
+ gtk_object_unref((GtkObject *)filter);
stream = (CamelStream *)filter_stream;
}