From beb1318d129b2d470b6e0d138e2b302953e66dd3 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 30 Sep 2013 21:31:37 +0200 Subject: [PATCH] if the pointer is there, we need to free it. --- citadel/database.c | 2 ++ 1 file changed, 2 insertions(+) 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"); } -- 2.30.2