1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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>
This commit is contained in:
Werner Koch 2016-08-13 19:42:18 +02:00
parent 7009206402
commit c9a0bccc77
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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);
}