summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/compat_libevent.c2
1 files changed, 1 insertions, 1 deletions
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);