aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
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 /camel/providers
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
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c2
1 files changed, 2 insertions, 0 deletions
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,