memory leak in addlaws.c
A valgrind run of the attached test case e.c with a debug build of the current git version of ecm (5663e00c) reveals a few leaks in ell_curve_init
. These fields are not cleared in ell_curve_clear
. The valgrind output is vg.out.
The fix 0001-Fix-leak.patch is trivial (would you consider allowing merge requests?).