diff options
author | Werner Koch <wk@gnupg.org> | 2020-01-13 12:18:53 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-01-13 12:18:53 +0100 |
commit | 2b843be5ac9f37c9faf2d9ab720eafceb3d534ad (patch) | |
tree | 77d3f671025561be8ca6eba57cb90c702fcec875 /scd/app.c | |
parent | scd: Make SERIALNO --all work correctly and use it. (diff) | |
download | gnupg2-2b843be5ac9f37c9faf2d9ab720eafceb3d534ad.tar.xz gnupg2-2b843be5ac9f37c9faf2d9ab720eafceb3d534ad.zip |
scd: Fix memory leak in command READKEY.
* scd/command.c (cmd_readcert): Replace xstrdup by xtrystrdup.
(cmd_readkey): Ditto. Fix memory leak.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'scd/app.c')
-rw-r--r-- | scd/app.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2046,7 +2046,6 @@ app_do_with_keygrip (ctrl_t ctrl, int action, const char *keygrip_str, int capability) { int locked = 0; - gpg_error_t err; card_t c; app_t a, a_prev; |