diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index 3a754bef70..c3a4746b37 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -573,7 +573,7 @@ run_runnable_cb(evutil_socket_t s, short what, void *arg) void *cb_arg = r->arg; (void)what; (void)s; - tor_event_free(r->ev); + event_free(r->ev); tor_free(r); cb(cb_arg);