summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/audiohandler.c')
-rw-r--r--gtk/src/audiohandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c
index 1388cfc60..5a9169cc5 100644
--- a/gtk/src/audiohandler.c
+++ b/gtk/src/audiohandler.c
@@ -376,7 +376,7 @@ ghb_set_pref_audio_settings(gint titleindex, GValue *settings)
// Find "best" audio based on audio preferences
if (!ghb_settings_get_boolean(settings, "AudioDUB"))
{
- source_lang = ghb_get_source_audio_lang(titleindex, 0);
+ source_lang = g_strdup(ghb_get_source_audio_lang(titleindex, 0));
}
else
{