aboutsummaryrefslogtreecommitdiff
path: root/changes/bug40751
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2023-06-01 08:35:08 -0400
committerDavid Goulet <dgoulet@torproject.org>2023-06-01 08:35:08 -0400
commitfaff592c3bc4c3bdebd8ac3c24bd23c50dc4c833 (patch)
treece616b85a3bcdfd337dbce20000b2fa66cb9afcf /changes/bug40751
parent97008526db53ce77cc65fbf93a4f5760c242082b (diff)
downloadtor-faff592c3bc4c3bdebd8ac3c24bd23c50dc4c833.tar.gz
tor-faff592c3bc4c3bdebd8ac3c24bd23c50dc4c833.zip
test: Fix a mem leak reported by Coverity
Here is the report: *** CID 1531835: Resource leaks (RESOURCE_LEAK) /src/test/test_crypto_slow.c: 683 in test_crypto_equix() 677 678 /* Solve phase: Make sure the test vector matches */ 679 memset(&output, 0xa5, sizeof output); 680 equix_result result; 681 result = equix_solve(solve_ctx, challenge_literal, 682 challenge_len, &output); >>> CID 1531835: Resource leaks (RESOURCE_LEAK) >>> Variable "solve_ctx" going out of scope leaks the storage it points to. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/bug40751')
0 files changed, 0 insertions, 0 deletions