diff options
author | jstebbins <[email protected]> | 2015-01-13 18:38:55 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-01-13 18:38:55 +0000 |
commit | 2c5ec037274054f5dd4a270811c11afb5caa7331 (patch) | |
tree | 6958dcbb6214fb6bd73c9101b1d951f36cae2ed8 /gtk/src/queuehandler.c | |
parent | 29ee7aebc3d94cfdd5ffb9eeae35bcbf85f1b81e (diff) |
LinGui: fix small memory leak
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6743 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-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; } |