diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 13:49:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 13:49:43 -0400 |
commit | 75a6e7e256719c33329cd172248f4f2dfc80ad8c (patch) | |
tree | 0cbb7be791219c8d7476d5f77a54ba30d4a2623a /src/test/test_channelpadding.c | |
parent | d3ecb3a8d6d55575d4ab3f80fed5e2b2fdcc561a (diff) | |
parent | 36c372581f8d7651c336f69b9b1b051d3d31d548 (diff) | |
download | tor-75a6e7e256719c33329cd172248f4f2dfc80ad8c.tar.gz tor-75a6e7e256719c33329cd172248f4f2dfc80ad8c.zip |
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/test/test_channelpadding.c')
-rw-r--r-- | src/test/test_channelpadding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index 661a356ae4..4261bc1b67 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -701,6 +701,7 @@ test_channelpadding_consensus(void *arg) memcpy(relay->identity_digest, ((channel_tls_t *)chan)->conn->identity_digest, DIGEST_LEN); smartlist_add(current_md_consensus->routerstatus_list, relay); + relay = NULL; /* Prevent double-free */ tried_to_write_cell = 0; decision = channelpadding_decide_to_pad_channel(chan); |