From 03e1e4756b13b05cc386472c738e2be4deb1b199 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 29 Sep 2000 04:08:11 +0000 Subject: another mem leak fix svn path=/trunk/; revision=5633 --- camel/providers/smtp/camel-smtp-transport.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'camel') diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 5b2b66db3f..8ccdcec9b3 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -42,6 +42,8 @@ #include "camel-stream-filter.h" #include "camel-smtp-transport.h" #include "camel-mime-message.h" +#include "camel-multipart.h" +#include "camel-mime-part.h" #include "camel-stream-buffer.h" #include "camel-stream-fs.h" #include "camel-session.h" @@ -668,6 +670,9 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, CamelException * g_strerror (errno)); return FALSE; } + + g_free (respbuf); + respbuf = NULL; /* setup stream filtering */ lwfilter = camel_mime_filter_linewrap_new (998, 998, '\t'); -- cgit