The following is a patch for bug in mem.c
In some condition bug in mem.c leads to a
memory leak and crash
***
mem.c 2008-02-10 04:18:10.000000000 -0500
--- mem.c.patch 2008-07-19
20:04:35.000000000 -0400
***************
*** 390,395 ****
--- 390,396 ----
handler->next->prev = NULL;
} else {
inst->session_head = NULL;
+
inst->session_tail = NULL;
}
eap_handler_free(handler);
}