Pārlūkot izejas kodu

Fix small memleak introduced in recent patch; fixe 6455.

Nick Mathewson 12 gadi atpakaļ
vecāks
revīzija
08e65ce04f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/or/config.c

+ 1 - 1
src/or/config.c

@@ -4025,7 +4025,7 @@ options_validate(or_options_t *old_options, or_options_t *options,
     log_notice(LD_GENERAL, "Tor is not configured as a relay but you specified"
                " a ServerTransportPlugin line (%s). The ServerTransportPlugin "
                "line will be ignored.",
-               esc_for_log(options->ServerTransportPlugin->value));
+               escaped(options->ServerTransportPlugin->value));
   }
 
   if (options->ConstrainedSockets) {