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:
parent
7009206402
commit
c9a0bccc77
@ -495,7 +495,6 @@ cmd_mount (assuan_context_t ctx, char *line)
|
|||||||
tuples);
|
tuples);
|
||||||
|
|
||||||
leave:
|
leave:
|
||||||
xfree (tuples);
|
|
||||||
destroy_tupledesc (tuples);
|
destroy_tupledesc (tuples);
|
||||||
return leave_cmd (ctx, err);
|
return leave_cmd (ctx, err);
|
||||||
}
|
}
|
||||||
@ -610,7 +609,6 @@ cmd_resume (assuan_context_t ctx, char *line)
|
|||||||
tuples);
|
tuples);
|
||||||
|
|
||||||
leave:
|
leave:
|
||||||
xfree (tuples);
|
|
||||||
destroy_tupledesc (tuples);
|
destroy_tupledesc (tuples);
|
||||||
return leave_cmd (ctx, err);
|
return leave_cmd (ctx, err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user