浏览代码

I was told there is an extend_info_free(). I won't leak memory again. I won't leak memory again. I won't ...

svn:r15335
Karsten Loesing 17 年之前
父节点
当前提交
024de76e5d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/rendservice.c

+ 1 - 1
src/or/rendservice.c

@@ -809,7 +809,7 @@ rend_service_launch_establish_intro(rend_service_t *service,
     log_info(LD_REND, "The intro circuit we just cannibalized ends at $%s, "
                       "but we requested an intro circuit to $%s. Updating "
                       "our service.", cann, orig);
-    tor_free(intro->extend_info);
+    extend_info_free(intro->extend_info);
     intro->extend_info = extend_info_dup(launched->build_state->chosen_exit);
   }