mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-22 10:51:00 -04:00
r15320@tombo: nickm | 2008-04-24 21:29:06 -0400
Yes, niels says this is safe. svn:r727
This commit is contained in:
parent
94fb4d0a1e
commit
fe2e7307f3
3
event.c
3
event.c
@ -688,8 +688,7 @@ event_new(struct event_base *base, evutil_socket_t fd, short events, void (*cb)(
|
||||
void
|
||||
event_free(struct event *ev)
|
||||
{
|
||||
/* make sure that this event won't be coming back to haunt us.
|
||||
* XXX this is safe, right? */
|
||||
/* make sure that this event won't be coming back to haunt us. */
|
||||
event_del(ev);
|
||||
mm_free(ev);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user