diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 2 |
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, |