if the pointer is there, we need to free it.
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Sep 2013 19:31:37 +0000 (21:31 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Sep 2013 19:31:37 +0000 (21:31 +0200)
citadel/database.c

index bb6505aec0d539c4cd74fdc88497531ee79f9641..0db5c38fed48ec8590bff00e18def79c9caca0c5 100644 (file)
@@ -929,6 +929,8 @@ time_t CheckIfAlreadySeen(const char *Facility,
                }
                else
                {
+                       if (cdbut) cdb_free(cdbut);
+
                        SEENM_syslog(LOG_DEBUG, "not Found");
                }