summaryrefslogtreecommitdiffstats
path: root/gtk/src/subtitlehandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/subtitlehandler.c')
-rw-r--r--gtk/src/subtitlehandler.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c
index 5b5036520..fee75f75b 100644
--- a/gtk/src/subtitlehandler.c
+++ b/gtk/src/subtitlehandler.c
@@ -434,7 +434,6 @@ ghb_set_pref_subtitle_settings(gint titleindex, GValue *settings)
found_cc = TRUE;
ghb_add_subtitle_to_settings(settings, dup);
jj++;
- g_free(lang);
}
}
if (foreign_lang_index < 0 && pref_lang != NULL)
@@ -506,8 +505,6 @@ ghb_set_pref_subtitle_settings(gint titleindex, GValue *settings)
}
if (pref_lang != NULL)
g_free(pref_lang);
- if (audio_lang != NULL)
- g_free(audio_lang);
g_hash_table_destroy(track_indices);
}