diff options
author | Roger Dingledine <arma@torproject.org> | 2008-09-09 08:41:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-09-09 08:41:58 +0000 |
commit | ef7af1d61e242913bcbeff1490d5300d1a9977c5 (patch) | |
tree | 169a077d08fdf640ea2d8c119841d220909070a5 /src/or/rendcommon.c | |
parent | d37fae2f4edb03095f943577f78b518f75f6ca71 (diff) | |
download | tor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.tar.gz tor-ef7af1d61e242913bcbeff1490d5300d1a9977c5.zip |
karsten's patch for bug 767.
svn:r16808
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 6562cdac9c..44cbc1b534 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -32,6 +32,10 @@ rend_service_descriptor_free(rend_service_descriptor_t *desc) rend_intro_point_free(intro);); smartlist_free(desc->intro_nodes); } + if (desc->successful_uploads) { + SMARTLIST_FOREACH(desc->successful_uploads, char *, c, tor_free(c);); + smartlist_free(desc->successful_uploads); + } tor_free(desc); } |