summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-21 10:00:52 -0400
committerNick Mathewson <nickm@torproject.org>2015-10-21 10:00:52 -0400
commit46cd466decfcf05cc7588256aa7e9491a7c9e918 (patch)
tree77f2d6f0fecab362759588678d20e83c3b543847 /src/or
parent34b4da709d04a64e52f023f7fa54fdbab270546f (diff)
parent5b2070198a9fa7d19f50ba165dc6ff274ffe073a (diff)
downloadtor-46cd466decfcf05cc7588256aa7e9491a7c9e918.tar.gz
tor-46cd466decfcf05cc7588256aa7e9491a7c9e918.zip
Merge remote-tracking branch 'origin/maint-0.2.7'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/rendcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcache.c b/src/or/rendcache.c
index a75028e7f7..e377e9ad81 100644
--- a/src/or/rendcache.c
+++ b/src/or/rendcache.c
@@ -418,8 +418,8 @@ validate_intro_point_failure(const rend_service_descriptor_t *desc,
SMARTLIST_DEL_CURRENT(desc->intro_nodes, intro);
/* Keep it for our new entry. */
digestmap_set(new_entry->intro_failures, (char *) identity, ent_dup);
+ /* Only free it when we're done looking at it. */
rend_intro_point_free(intro);
-
continue;
}
} SMARTLIST_FOREACH_END(intro);