From 7f57f5099e6ebe353e3ccf7c64507379c523d020 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Mar 2001 06:46:11 +0000 Subject: Set the errbuf to NULL after freeing it? I don't think this should fix bug 2001-03-19 Jeffrey Stedfast * 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 --- camel/ChangeLog | 6 ++++++ camel/providers/pop3/camel-pop3-store.c | 1 + 2 files changed, 7 insertions(+) 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 + + * 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 * 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)) { -- cgit v1.2.3