summaryrefslogtreecommitdiffstats
path: root/gtk/src/audiohandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-26 08:25:02 +0000
committerjstebbins <[email protected]>2012-05-26 08:25:02 +0000
commit89b5fd2675d556414ea988408193b8e21a63f159 (patch)
treefed0bb930475c2df7e42546c45fd566043205f69 /gtk/src/audiohandler.c
parentc18c9394b6641f183a86aabfe496b41086eb1905 (diff)
LinGui: oops, fixed on sigsegv and created another :(
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4700 b64f7644-9d1e-0410-96f1-a4d463321fa5
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
{