diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/queuehandler.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index a7bd80ec4..d7e808d99 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -1972,9 +1972,11 @@ find_pid: } } if (!unfinished) + { + ghb_value_free(queue); goto find_pid; - - if (unfinished) + } + else { GtkWindow *hb_window; hb_window = GTK_WINDOW(GHB_WIDGET(ud->builder, "hb_window")); @@ -2016,10 +2018,6 @@ find_pid: } g_free(message); } - else - { - ghb_value_free(queue); - } return FALSE; } |