When I call event_base_loopexit() with a timeout, and say it’s not triggered, 
because event_base_loopbreak() breaks out of the loop before timeout is 
reached, I saw a memory leak of an event_once object, calloc-ed inside 
event_base_once(), but never got a chance to get freed, because free(eonce) is 
called inside timeout’s callback. How to fix this from outside of libevent?


Libevent-users mailing list

Reply via email to