From 3570cc5bbf3c5d3b10d578a0f8444d95e57eb4d3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 26 Jun 2001 00:18:23 +0000 Subject: g_strdup() the message source here or we will have problems later when we 2001-06-25 Jeffrey Stedfast * camel-filter-search.c (get_source): g_strdup() the message source here or we will have problems later when we go to free the result ;-) svn path=/trunk/; revision=10498 --- camel/providers/smtp/camel-smtp-transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/providers/smtp') diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 30bb9d5c80..48b4250185 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -688,7 +688,7 @@ smtp_helo (CamelSmtpTransport *transport, CamelException *ex) if (!respbuf || strncmp (respbuf, "250", 3)) { int error; - + error = respbuf ? atoi (respbuf) : 0; g_free (respbuf); camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM, @@ -949,7 +949,7 @@ smtp_data (CamelSmtpTransport *transport, CamelMedium *message, gboolean has_8bi get_smtp_error_string (error)); return FALSE; } - + g_free (respbuf); respbuf = NULL; -- cgit