Home GnuPG

tests/bench-slope: fix memory-leak and use-after-free bugs
aa234561d00cUnpublished

Unpublished Commit ยท Learn More

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

Description

tests/bench-slope: fix memory-leak and use-after-free bugs

* tests/bench-slope.c (do_slope_benchmark): Free 'measurements' at end.
(bench_mac_init): Move 'key' free at end of function.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 21 2015, 12:01 PM
Parents
rCf5832285b0e4: Fix two pedantic warnings.
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rCaa234561d00c: tests/bench-slope: fix memory-leak and use-after-free bugs (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Mar 21 2015, 12:01 PM