Skip to content
Snippets Groups Projects
Commit 459c7c0e authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Attempt to un-confuse coverity about (false) double-free in bench_onion_ntor.

parent 9f8e672b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment