Commit 2c79b357 authored by Philip Withnall's avatar Philip Withnall

gio-tool: Fix a memory leak when returning command line help

Coverity CID: #1393952
Signed-off-by: Philip Withnall's avatarPhilip Withnall <philip@tecnocode.co.uk>
parent 7f55c768
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment