changeset 193:3ea79ef741a0

delay autowhitelisting to avoid out of office reply bots
author carl
date Sun, 11 Nov 2007 13:05:41 -0800
parents 8f4a9a37d4d9
children 688ec12a3c0c
files src/dnsbl.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sun Nov 11 12:49:25 2007 -0800
+++ b/src/dnsbl.cpp	Sun Nov 11 13:05:41 2007 -0800
@@ -282,6 +282,11 @@
 }
 
 void mlfiPriv::reset(bool final) {
+    while (delayer.empty()) {
+        DELAYWHITEP dwp = delayer.front();
+        delete dwp;
+        delayer.pop_front();
+    }
     if (mailaddr)      free(mailaddr);
     if (queueid)       free(queueid);
     if (authenticated) free(authenticated);