mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Attempt to un-confuse coverity about (false) double-free in bench_onion_ntor.
This commit is contained in:
parent
9f8e672b50
commit
459c7c0e41
1 changed files with 1 additions and 0 deletions
|
@ -204,6 +204,7 @@ bench_onion_ntor(void)
|
|||
for (i = 0; i < iters; ++i) {
|
||||
onion_skin_ntor_create(nodeid, &keypair1.pubkey, &state, os);
|
||||
ntor_handshake_state_free(state);
|
||||
state = NULL;
|
||||
}
|
||||
end = perftime();
|
||||
printf("Client-side, part 1: %f usec.\n", NANOCOUNT(start, end, iters)/1e3);
|
||||
|
|
Loading…
Add table
Reference in a new issue