diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-06-12 08:54:18 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-06-12 08:54:18 +0200 |
commit | 8f99299a54a0ac09f9c90c1085b704db78973fda (patch) | |
tree | b134d92802259c49ec03df43d1c38c591ac4b2d7 /g10/card-util.c | |
parent | gpg: Add new usage option for drop-subkey filters. (diff) | |
download | gnupg2-8f99299a54a0ac09f9c90c1085b704db78973fda.tar.xz gnupg2-8f99299a54a0ac09f9c90c1085b704db78973fda.zip |
card: Fix memory leak for fetch-url sub command.
* g10/card-util.c (fetch_url): Release INFO.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'g10/card-util.c')
-rw-r--r-- | g10/card-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/card-util.c b/g10/card-util.c index 587f181f2..b7eedc0c8 100644 --- a/g10/card-util.c +++ b/g10/card-util.c @@ -851,6 +851,7 @@ fetch_url (ctrl_t ctrl) } } + agent_release_card_info (&info); return rc; } |