diff options
author | NIIBE Yutaka <[email protected]> | 2018-09-13 23:11:45 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-09-13 23:11:45 +0000 |
commit | 60c880bda5c9b821fd2968cf89c38c37be3c1a7b (patch) | |
tree | 5e36f8919200878c4b0a328752faf71f8652e9a3 /common/sysutils.c | |
parent | g10: Fix memory leak (more). (diff) | |
download | gnupg-60c880bda5c9b821fd2968cf89c38c37be3c1a7b.tar.gz gnupg-60c880bda5c9b821fd2968cf89c38c37be3c1a7b.zip |
g10: Fix another memory leak.
* g10/skclist.c (enum_secret_keys): Use SK_LIST instead of pubkey_t.
--
The use of pubkey_t was wrong. The use is just a list of keys, not
with keyblock. With SK_LIST, release_sk_list releases memory by
free_public_key.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions