Fix one-off memory leak when build with Linux capability support.
authorWerner Koch <wk@gnupg.org>
Tue, 22 Oct 2013 12:26:53 +0000 (14:26 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 9 Dec 2013 19:27:36 +0000 (20:27 +0100)
commit9a37470c50ee9966cb2652617a404ddd54a9c096
tree53e576a58c607951d9739505a8f5a1de8e9c9c23
parent2516f0b660b1a7181ad38c44310c627f4f498595
Fix one-off memory leak when build with Linux capability support.

* src/secmem.c (lock_pool, secmem_init): Use cap_free.  Reported by
Mike Crowe <mac@mcrowe.com>.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/secmem.c