mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
use event_free() wrapper; fix bug 4582
This commit is contained in:
parent
e8dde3aabd
commit
9a88c0cd32
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user