==00:00:00:08.662 19894== 64 bytes in 1 blocks are definitely lost in loss 
record 4 of 7
==00:00:00:08.662 19894==    at 0x4A06B92: malloc (vg_replace_malloc.c:149)
==00:00:00:08.662 19894==    by 0x4A06C06: realloc (vg_replace_malloc.c:306)
==00:00:00:08.662 19894==    by 0x4C24E16: min_heap_reserve (min_heap.h:103)
==00:00:00:08.662 19894==    by 0x4C24C1C: event_add (event.c:632)

Index: event.c
===================================================================
--- event.c     (revision 524)
+++ event.c     (working copy)
@@ -229,6 +229,7 @@
        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]);

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to