[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r15335: I was told there is an extend_info_free(). I won't leak memo (tor/trunk/src/or)



Author: kloesing
Date: 2008-06-17 15:13:05 -0400 (Tue, 17 Jun 2008)
New Revision: 15335

Modified:
   tor/trunk/src/or/rendservice.c
Log:
I was told there is an extend_info_free(). I won't leak memory again. I won't leak memory again. I won't ...

Modified: tor/trunk/src/or/rendservice.c
===================================================================
--- tor/trunk/src/or/rendservice.c	2008-06-17 18:25:04 UTC (rev 15334)
+++ tor/trunk/src/or/rendservice.c	2008-06-17 19:13:05 UTC (rev 15335)
@@ -809,7 +809,7 @@
     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);
   }