mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 12:23:06 +02: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)
|
||||
{
|
||||
show_help (context, NULL);
|
||||
g_option_context_free (context);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user