]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Mon, 17 Apr 2000 03:55:10 +0000 (03:55 +0000)
committerwessels <>
Mon, 17 Apr 2000 03:55:10 +0000 (03:55 +0000)
 - eventFreeMemory() was broken because it never updated the 'tasks'
   pointer in the loop.  This also caused FMR bug?

src/event.cc

index 5cdb00db29e6709318412cd43ca56dc403262fda..d3776bee44f44185954bdf668e5f78fa201439a6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: event.cc,v 1.29 2000/03/06 16:23:31 wessels Exp $
+ * $Id: event.cc,v 1.30 2000/04/16 21:55:10 wessels Exp $
  *
  * DEBUG: section 41    Event Processing
  * AUTHOR: Henrik Nordstrom
@@ -191,6 +191,7 @@ eventFreeMemory(void)
 {
     struct ev_entry *event;
     while ((event = tasks)) {
+       tasks = event->next;
        if (NULL != event->arg)
            cbdataUnlock(event->arg);
        memFree(event, MEM_EVENT);