g10: Fix memory leaks.
authorJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 16:02:10 +0000 (18:02 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 16:21:50 +0000 (18:21 +0200)
commitc57501cc5fa84dbaf560c0fc18853c9540e918af
tree2652d0823dd3fb2c5408d3ba876683a0d3aa3a87
parentc14ef10fc347d966a1efcb5c2000cbf3aaafa905
g10: Fix memory leaks.

* g10/keydb.c (keydb_get_keyblock): Free 'sigstatus' and 'iobuf'.
* g10/t-keydb-get-keyblock.c: Fix trivial memory leaks.
* g10/t-keydb.c: Likewise.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/keydb.c
g10/t-keydb-get-keyblock.c
g10/t-keydb.c