Home GnuPG

tests: fix memory leaks.
cc082642c1b0Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: fix memory leaks.

* tests/benchmark.c (dsa_bench): Release SIG.
* tests/mpitests.c (test_powm): Release BASE, EXP, MOD, and RES.
* tests/prime.c (check_primes): Release PRIME.
* tests/tsexp.c (basic): Use intermediate variable M for constant.
Release S1, S2 and A.

Details

Provenance
gniibeAuthored on Aug 7 2013, 1:56 AM
Parents
rC065d446478bf: Fix building on W32 (cannot export symbol 'gcry_sexp_get_buffer')
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rCcc082642c1b0: tests: fix memory leaks. (authored by NIIBE Yutaka <gniibe@fsij.org>).Aug 7 2013, 11:03 AM