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: v8.22~15 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=4d7e1ccd1cac3937dd983d939cfd0fea5f3fbfae if the pointer is there, we need to free it. --- diff --git a/citadel/database.c b/citadel/database.c index 398f1eb0f..b3a67d69b 100644 --- a/citadel/database.c +++ b/citadel/database.c @@ -952,6 +952,8 @@ time_t CheckIfAlreadySeen(const char *Facility, } else { + if (cdbut) cdb_free(cdbut); + SEENM_syslog(LOG_DEBUG, "not Found"); }