mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio-tool: Fix a memory leak when returning command line help
Coverity CID: #1393952 Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
parent
7f55c768ce
commit
2c79b357b2
@ -106,6 +106,7 @@ handle_move (int argc, char *argv[], gboolean do_help)
|
|||||||
if (do_help)
|
if (do_help)
|
||||||
{
|
{
|
||||||
show_help (context, NULL);
|
show_help (context, NULL);
|
||||||
|
g_option_context_free (context);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user