diff options
author | Werner Koch <wk@gnupg.org> | 2016-08-13 19:42:18 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-08-13 19:42:18 +0200 |
commit | c9a0bccc77c93c08d6980a1718dfaf238a559eb9 (patch) | |
tree | aef38cc474ffbdc000f1666276d5cb908cc0a12f /g13 | |
parent | g13: Consider g13tab for a mount command. (diff) | |
download | gnupg2-c9a0bccc77c93c08d6980a1718dfaf238a559eb9.tar.xz gnupg2-c9a0bccc77c93c08d6980a1718dfaf238a559eb9.zip |
g13: Fix double free bug.
* g13/sh-cmd.c (cmd_mount, cmd_resume): Do not xfree TIUPLES.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'g13')
-rw-r--r-- | g13/sh-cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/g13/sh-cmd.c b/g13/sh-cmd.c index 10b1ba93b..20db8dce0 100644 --- a/g13/sh-cmd.c +++ b/g13/sh-cmd.c @@ -495,7 +495,6 @@ cmd_mount (assuan_context_t ctx, char *line) tuples); leave: - xfree (tuples); destroy_tupledesc (tuples); return leave_cmd (ctx, err); } @@ -610,7 +609,6 @@ cmd_resume (assuan_context_t ctx, char *line) tuples); leave: - xfree (tuples); destroy_tupledesc (tuples); return leave_cmd (ctx, err); } |