Browse Source

use event_free() wrapper; fix bug 4582

Nick Mathewson 12 years ago
parent
commit
9a88c0cd32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/compat_libevent.c

+ 1 - 1
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;
-  event_free(r->ev);
+  tor_event_free(r->ev);
   tor_free(r);
 
   cb(cb_arg);