[Libevent-users] Re: When can an event be freed?

2012-02-25 Thread Ralph Castain
Never mind - RTFD plus some experimentation answered the question. Interesting how it ran for years before finally exposing the problem. On Feb 25, 2012, at 10:53 AM, Ralph Castain wrote: > Hi folks > > I have a hopefully quick question. I've been chasing down memory corruption > issues, and

[Libevent-users] When can an event be freed?

2012-02-25 Thread Ralph Castain
Hi folks I have a hopefully quick question. I've been chasing down memory corruption issues, and think I'm coming to closure on the root cause. If I setup an event by malloc'ing an event_t, am I allowed to free that memory in the event handler when called by libevent? Or does libevent still nee