From d95155e8ed76e1d2be5ac40aa387d8b5f6fbb612 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sat, 12 Feb 2011 14:43:21 +0100 Subject: [PATCH] free the context on that exit place too. --- citadel/modules/pop3client/serv_pop3client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); -- 2.30.2