diff options
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 5 |
1 files changed, 5 insertions, 0 deletions
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'); |