diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-05 20:52:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-05 20:52:15 +0000 |
commit | 0b8117a5c002b262b6ee56acc3719700637416c7 (patch) | |
tree | 73746b443d10620630933d7de5d0f467378fb5d7 /src/or/rendcommon.c | |
parent | 4d94e061c7a1af2fbb92ab3114c3ce5f59971a31 (diff) | |
download | tor-0b8117a5c002b262b6ee56acc3719700637416c7.tar.gz tor-0b8117a5c002b262b6ee56acc3719700637416c7.zip |
Fix numerous memory leaks: some were almost impossible to trigger, and some almost inevitable.
svn:r16779
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index 0b97e2141e..6562cdac9c 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -1064,6 +1064,7 @@ rend_cache_store(const char *desc, size_t desc_len, int published) if (!published && strmap_get_lc(rend_cache, key)) { log_info(LD_REND, "We already have a v2 descriptor for service %s.", safe_str(query)); + rend_service_descriptor_free(parsed); return -1; } /* report novel publication to statistics */ |