Explorar o código

Work around check-spaces.

Nick Mathewson %!s(int64=5) %!d(string=hai) anos
pai
achega
db3acb3aa3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/tools/tor_runner.c

+ 2 - 2
src/tools/tor_runner.c

@@ -80,6 +80,7 @@ tor_run_main(const tor_main_configuration_t *cfg)
 /* circumlocution to avoid getting warned about calling calloc instead of
  * tor_calloc. */
 #define real_calloc calloc
+#define real_free free
 
 static void
 child(const tor_main_configuration_t *cfg)
@@ -93,10 +94,9 @@ child(const tor_main_configuration_t *cfg)
   int rv = execv(BINDIR "/tor", args);
 
   if (rv < 0) {
-    free(args);
+    real_free(args);
     exit(254);
   } else {
     abort(); /* Unreachable */
   }
 }
-