diff options
author | jstebbins <[email protected]> | 2009-07-22 15:32:28 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-22 15:32:28 +0000 |
commit | e468f26b20a372a0453eec2780b392536d08ab36 (patch) | |
tree | 0ff141992ebddcc88171088d22939135fdf51de2 /gtk/src | |
parent | f1ca7baa5a4c2537551502b6afb659b83145dd4f (diff) |
LinGui: fix a double free crash
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2720 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/subtitlehandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c index c2bce5fc5..c2ee73cfd 100644 --- a/gtk/src/subtitlehandler.c +++ b/gtk/src/subtitlehandler.c @@ -335,8 +335,8 @@ ghb_set_pref_subtitle(gint titleindex, signal_user_data_t *ud) found_cc = TRUE; ghb_add_subtitle(ud, dup); jj++; + g_free(lang); } - g_free(lang); } if (foreign_lang_index < 0 && pref_lang != NULL) { |