aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-19 14:46:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-19 14:46:11 +0800
commit7f57f5099e6ebe353e3ccf7c64507379c523d020 (patch)
treec6a23a153699972dc591e2ce5fce5284fecfb8e7
parent65087ff32bd4c17119f94ac12e4def4a9909f4d9 (diff)
downloadgsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar.gz
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar.bz2
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar.lz
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar.xz
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.tar.zst
gsoc2013-evolution-7f57f5099e6ebe353e3ccf7c64507379c523d020.zip
Set the errbuf to NULL after freeing it? I don't think this should fix bug
2001-03-19 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (pop3_connect): Set the errbuf to NULL after freeing it? I don't think this should fix bug #1801 but I guess it can't hurt. svn path=/trunk/; revision=8818
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/pop3/camel-pop3-store.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index e5c564e41d..e82494cb92 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/pop3/camel-pop3-store.c (pop3_connect): Set the errbuf
+ to NULL after freeing it? I don't think this should fix bug #1801
+ but I guess it can't hurt.
+
2001-03-18 Jeffrey Stedfast <fejj@ximian.com>
* camel-remote-store.c (remote_recv_line): Protect against a
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 4d87d7ff53..7f9cdc558b 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -510,6 +510,7 @@ pop3_connect (CamelService *service, CamelException *ex)
tryagain = pop3_try_authenticate (service, kpop, errbuf, ex);
g_free (errbuf);
+ errbuf = NULL;
} while (tryagain);
if (camel_exception_is_set (ex)) {