aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-05-11 11:17:43 -0700
committerMicah Elizabeth Scott <beth@torproject.org>2023-05-11 11:17:43 -0700
commita3ff3155c22e7cf093667c6c32166a8f9c77a79a (patch)
tree224877a438967401d598644315e8934755fcd1cb /src/core
parentc71b6a14a391769261a08e96d0a1d90b5d1c9e11 (diff)
downloadtor-a3ff3155c22e7cf093667c6c32166a8f9c77a79a.tar.gz
tor-a3ff3155c22e7cf093667c6c32166a8f9c77a79a.zip
test_crypto: avoid memory leak in some hashx test failures
This should fix one of the warnings in issue #40792. I was sloppy with freeing memory in the failure cases for test_crypto_hashx. ASAN didn't notice but coverity did. Okay, I'll eat my vegetables and put hashx_ctx's deinit in an upper scope and use 'goto done' correctly like a properly diligent C programmer. Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions