Home GnuPG

Fix memory leak in secmem in out of core conditions.

Description

Fix memory leak in secmem in out of core conditions.

* src/secmem.c (_gcry_secmem_malloc_internal): Release pool descriptor
if the pool could not be allocated.
  • GnuPG-bug-id: T4211
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details