- eventFreeMemory() was broken because it never updated the 'tasks'
pointer in the loop. This also caused FMR bug?
/*
- * $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
{
struct ev_entry *event;
while ((event = tasks)) {
+ tasks = event->next;
if (NULL != event->arg)
cbdataUnlock(event->arg);
memFree(event, MEM_EVENT);