diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-10-29 17:02:53 -0700 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-10-30 04:46:58 -0700 |
commit | 1a52a947c557ac04ee96addff404dc50cf5c26eb (patch) | |
tree | 85947e0f40044d2a6872bfde162b05c70e8e454a /src/or/rendcommon.c | |
parent | 1eba4f0cc370f576537edc3461899b87e71ea107 (diff) | |
download | tor-1a52a947c557ac04ee96addff404dc50cf5c26eb.tar.gz tor-1a52a947c557ac04ee96addff404dc50cf5c26eb.zip |
Move the real INTRODUCE2 replay-detection cache into rend_intro_point_t
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index c5bf88163d..0a478c1147 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -440,6 +440,11 @@ rend_intro_point_free(rend_intro_point_t *intro) extend_info_free(intro->extend_info); crypto_free_pk_env(intro->intro_key); + + if (intro->accepted_intros != NULL) { + digestmap_free(intro->accepted_intros, _tor_free); + } + tor_free(intro); } |