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, 7 Oct 2013 19:30:01 +0000 (21:30 +0200)
citadel/database.c

index 398f1eb0f864b5b420f48fb401d4f4abb4c4bf3a..b3a67d69b36368ecab49944c149314ea7efdea57 100644 (file)
@@ -952,6 +952,8 @@ time_t CheckIfAlreadySeen(const char *Facility,
                }
                else
                {
+                       if (cdbut) cdb_free(cdbut);
+
                        SEENM_syslog(LOG_DEBUG, "not Found");
                }