from trunk: free minheap; from Christopher Layne

svn:r526
This commit is contained in:
Niels Provos 2007-11-13 03:33:07 +00:00
parent 2793c8eeb0
commit 57fe6ed265
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
Changes in current version:
o free minheap on event_base_free(); from Christopher Layne
Changes in 1.4.0-beta:
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

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]);