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
This commit is contained in:
Karsten Loesing 2008-06-17 19:13:05 +00:00
parent 693d7e3e35
commit 024de76e5d

View File

@ -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, " log_info(LD_REND, "The intro circuit we just cannibalized ends at $%s, "
"but we requested an intro circuit to $%s. Updating " "but we requested an intro circuit to $%s. Updating "
"our service.", cann, orig); "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); intro->extend_info = extend_info_dup(launched->build_state->chosen_exit);
} }