use event_free() wrapper; fix bug 4582

This commit is contained in:
Nick Mathewson 2011-11-25 19:09:48 -05:00
parent e8dde3aabd
commit 9a88c0cd32

View File

@ -573,7 +573,7 @@ run_runnable_cb(evutil_socket_t s, short what, void *arg)
void *cb_arg = r->arg;
(void)what;
(void)s;
event_free(r->ev);
tor_event_free(r->ev);
tor_free(r);
cb(cb_arg);