aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-08 05:34:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-08 05:34:47 +0800
commit7d21306087b675f3c9b358617445cc4510435f05 (patch)
tree4801c5c0f11d5b70d0fb800ccbd6a6fe1c2dd5ea
parentaecfa56f0211555716c0b984937132f447b8f47b (diff)
downloadgsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar.gz
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar.bz2
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar.lz
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar.xz
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.tar.zst
gsoc2013-evolution-7d21306087b675f3c9b358617445cc4510435f05.zip
Make sure to unref the mime filters when we finish with them.
2001-09-07 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_data): Make sure to unref the mime filters when we finish with them. svn path=/trunk/; revision=12689
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8389e59a37..7c0a5dcfe0 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-07 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/smtp/camel-smtp-transport.c (smtp_data): Make sure to
+ unref the mime filters when we finish with them.
+
2001-09-07 Ettore Perazzoli <ettore@ximian.com>
* providers/local/camel-mbox-summary.c (mbox_summary_sync_full):
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index a9290c41cb..000cdfe7f4 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -1000,6 +1000,8 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, gboolean has_8bi
filtered_stream = camel_stream_filter_new_with_stream (transport->ostream);
camel_stream_filter_add (filtered_stream, CAMEL_MIME_FILTER (bccfilter));
camel_stream_filter_add (filtered_stream, CAMEL_MIME_FILTER (crlffilter));
+ camel_object_unref (CAMEL_OBJECT (bccfilter));
+ camel_object_unref (CAMEL_OBJECT (crlffilter));
if (camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message), CAMEL_STREAM (filtered_stream)) == -1) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,