mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Fix memory leak
This commit is contained in:
parent
420b04a504
commit
7343086808
@ -1,5 +1,7 @@
|
||||
2010-09-29 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keygen.c (key_from_sexp): Fix memory leak in the error case.
|
||||
|
||||
* call-agent.c (agent_scd_pksign): Add missing space.
|
||||
|
||||
2010-09-28 David Shaw <dshaw@jabberwocky.com> (wk)
|
||||
|
@ -1098,7 +1098,7 @@ key_from_sexp (gcry_mpi_t *array, gcry_sexp_t sexp,
|
||||
{
|
||||
for (i=0; i<idx; i++)
|
||||
{
|
||||
xfree (array[i]);
|
||||
gcry_mpi_release (array[i]);
|
||||
array[i] = NULL;
|
||||
}
|
||||
gcry_sexp_release (list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user