From: Wilfried Goesgens Date: Sat, 12 Feb 2011 13:43:21 +0000 (+0100) Subject: free the context on that exit place too. X-Git-Tag: v7.86~13 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d95155e8ed76e1d2be5ac40aa387d8b5f6fbb612 free the context on that exit place too. --- diff --git a/citadel/modules/pop3client/serv_pop3client.c b/citadel/modules/pop3client/serv_pop3client.c index b68d106a2..34bb969c9 100644 --- a/citadel/modules/pop3client/serv_pop3client.c +++ b/citadel/modules/pop3client/serv_pop3client.c @@ -333,7 +333,10 @@ void pop3client_scan(void) { * don't really require extremely fine granularity here, we'll do it * with a static variable instead. */ - if (doing_pop3client) return; + if (doing_pop3client) { + CtdlClearSystemContext(); + return; + } doing_pop3client = 1; CtdlLogPrintf(CTDL_DEBUG, "pop3client started\n");