Parcourir la source

Fix small memleak introduced in recent patch; fixe 6455.

Nick Mathewson il y a 13 ans
Parent
commit
08e65ce04f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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"
     log_notice(LD_GENERAL, "Tor is not configured as a relay but you specified"
                " a ServerTransportPlugin line (%s). The ServerTransportPlugin "
                " a ServerTransportPlugin line (%s). The ServerTransportPlugin "
                "line will be ignored.",
                "line will be ignored.",
-               esc_for_log(options->ServerTransportPlugin->value));
+               escaped(options->ServerTransportPlugin->value));
   }
   }
 
 
   if (options->ConstrainedSockets) {
   if (options->ConstrainedSockets) {