Преглед изворни кода

use event_free() wrapper; fix bug 4582

Nick Mathewson пре 14 година
родитељ
комит
9a88c0cd32
1 измењених фајлова са 1 додато и 1 уклоњено
  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);