tools: Fix memory leak for functions "I" and "G".
authorWerner Koch <wk@gnupg.org>
Thu, 6 Aug 2015 12:57:44 +0000 (14:57 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 6 Aug 2015 12:57:44 +0000 (14:57 +0200)
commit10789e3cdda7b944acb4b59624c34a2ccfaea6e5
tree63d18b25568b0e2386391c91ad9de1f0535789d0
parent1d896371fbc94c605fce35eabcde01e24dd22892
tools: Fix memory leak for functions "I" and "G".

* src/mpicalc.c (do_inv, do_gcd): Init A after stack check.
--

Reported-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Werner Koch <wk@gnupg.org>
src/mpicalc.c