free minheap; from Christopher Layne

svn:r525
This commit is contained in:
Niels Provos 2007-11-13 03:32:10 +00:00
parent d1e03054a3
commit d50afbb370
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,7 @@
Changes in current version:
o free minheap on event_base_free(); from Christopher Layne
Changes in 1.4.0:
o allow \r or \n individually to separate HTTP headers instead of the standard "\r\n"; from Charles Kerr.
o demote most http warnings to debug messages
o Fix Solaris compilation; from Magne Mahre

View File

@ -229,6 +229,7 @@ event_base_free(struct event_base *base)
for (i=0; i < base->nactivequeues; ++i)
assert(TAILQ_EMPTY(base->activequeues[i]));
assert(min_heap_empty(&base->timeheap));
min_heap_dtor(&base->timeheap);
for (i = 0; i < base->nactivequeues; ++i)
free(base->activequeues[i]);