Avoid possible double free in export.c.

* g10/export.c (transfer_format_to_openpgp): Avoid possible double
  free of LIST.  Reported by NIIBE Yutaka.
This commit is contained in:
Werner Koch 2011-12-02 17:04:58 +01:00
parent bf37c32367
commit 96dc146fa1
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ transfer_format_to_openpgp (gcry_sexp_t s_pgp, PKT_public_key *pk)
}
skey[skeyidx++] = NULL;
gcry_sexp_release (list);
gcry_sexp_release (list); list = NULL;
/* We have no need for the CSUM valuel thus we don't parse it. */
/* list = gcry_sexp_find_token (top_list, "csum", 0); */