From: Wilfried Goesgens Date: Mon, 30 Sep 2013 19:31:37 +0000 (+0200) Subject: if the pointer is there, we need to free it. X-Git-Tag: v9.01~232 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=beb1318d129b2d470b6e0d138e2b302953e66dd3 if the pointer is there, we need to free it. --- diff --git a/citadel/database.c b/citadel/database.c index bb6505aec..0db5c38fe 100644 --- a/citadel/database.c +++ b/citadel/database.c @@ -929,6 +929,8 @@ time_t CheckIfAlreadySeen(const char *Facility, } else { + if (cdbut) cdb_free(cdbut); + SEENM_syslog(LOG_DEBUG, "not Found"); }