浏览代码

Fix small memleak introduced in recent patch; fixe 6455.

Nick Mathewson 13 年之前
父节点
当前提交
08e65ce04f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {