Fix memory leak in secmem in out of core conditions.
authorWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 09:55:34 +0000 (11:55 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 24 Oct 2018 09:55:34 +0000 (11:55 +0200)
commitf74687fd43f5772a372f54031d5a9527597f4ce4
tree08845321af224b3e6b40c183bf5bbae99aef8838
parente57e75ea517f32109b508113f18298fc69fd1192
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: 4211
Signed-off-by: Werner Koch <wk@gnupg.org>
src/secmem.c