[PATCH 2/6] ecc: fix memory leak

NIIBE Yutaka gniibe at fsij.org
Fri Jul 10 03:01:58 CEST 2015


Thank you for your check and patches.

On 07/10/2015 12:11 AM, Peter Wu wrote:
> * cipher/ecc.c: Release memory which was allocated before by
>   _gcry_pk_util_preparse_sigval.
> --
> Caught by LeakSanitizer (LSan). Now the test suite (make check) passes
> with no memleaks.

This one was introduced by my last commit.  You're right.

I'm going to commit the fix, but the line inserted will be after the
comment as before.

More information about the Gcrypt-devel mailing list