diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-12-07 07:48:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-12-07 07:48:16 +0000 |
commit | a6aa5eebd6117e6af68fd3d685d601ce18f24dbb (patch) | |
tree | 8d232caa792475125b08328458d78940375e2842 /src/or/circuitbuild.c | |
parent | 3ff0077cbbc13772e565996ecff2f43ebef481bf (diff) | |
download | tor-a6aa5eebd6117e6af68fd3d685d601ce18f24dbb.tar.gz tor-a6aa5eebd6117e6af68fd3d685d601ce18f24dbb.zip |
Fix some memory leaks and unlikely segfaults
svn:r3103
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index bdd760a377..aa101aff6d 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -118,6 +118,7 @@ circuit_list_path(circuit_t *circ, int verbose) s = smartlist_join_strings(elements, verbose?" ":",", 0, NULL); SMARTLIST_FOREACH(elements, char*, cp, tor_free(cp)); + smartlist_free(elements); return s; } |