diff options
author | Roger Dingledine <arma@torproject.org> | 2004-01-30 21:32:40 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-01-30 21:32:40 +0000 |
commit | e05d39d1af5f7b4321db6bd0265c814f4480488c (patch) | |
tree | 75ba4c90cc45e1eae0065674a22838f4ee6adcb0 /src | |
parent | a81435c64e3488f0c5d210e62d3b1d48417964b4 (diff) | |
download | tor-e05d39d1af5f7b4321db6bd0265c814f4480488c.tar tor-e05d39d1af5f7b4321db6bd0265c814f4480488c.tar.gz |
fix a per-circuit memory leak
svn:r1029
Diffstat (limited to 'src')
-rw-r--r-- | src/or/onion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index 3912c450e..123adc6e4 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -478,6 +478,7 @@ int onion_extend_cpath(crypt_path_t **head_ptr, cpath_build_state_t *state, rout log_fn(LOG_DEBUG, "Contemplating last hop: choice already made: %s", state->chosen_exit); choice = router_get_by_nickname(state->chosen_exit); + smartlist_free(excludednodes); if(!choice) { log_fn(LOG_WARN,"Our chosen exit %s is no longer in the directory? Failing.", state->chosen_exit); |