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

This commit is contained in:
Nick Mathewson 2013-06-18 11:33:15 -04:00
parent 9f8e672b50
commit 459c7c0e41

View file

@ -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);