summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d4281cf..7a37c05 100644
--- a/src/main.c
+++ b/src/main.c
@@ -46,7 +46,6 @@ activate_cb (GtkApplication *app, gpointer user_data)
int retval;
results = zenity_option_parse (args->argc, args->argv);
- g_free (args);
switch (results->mode)
{
@@ -128,6 +127,7 @@ activate_cb (GtkApplication *app, gpointer user_data)
retval = results->data->exit_code;
zenity_option_free ();
+ g_free (args);
// FIXME - pass retval to gapplication properly.
// exit (retval);