changeset 7170:4ae1a0fecac5

upsz, 10l
author pontscho
date Fri, 30 Aug 2002 19:32:43 +0000
parents 35bab6be713b
children 772f853f32a1
files Gui/interface.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/interface.c	Fri Aug 30 19:11:03 2002 +0000
+++ b/Gui/interface.c	Fri Aug 30 19:32:43 2002 +0000
@@ -254,7 +254,7 @@
    mp_msg( MSGT_GPLAYER,MSGL_INFO,"[gui] Delete subtitles.\n" );
    sub_free( subtitles );
    subtitles=NULL;
-   sub_name=NULL;
+   gfree( (void **)&sub_name );
    vo_sub=NULL;
    if ( vo_osd_list )
     {
@@ -562,7 +562,7 @@
 
 // -- subtitle
 #ifdef USE_SUB
-	sub_name=guiIntfStruct.Subtitlename;
+	sub_name=gstrdup( guiIntfStruct.Subtitlename );
 	stream_dump_type=0;
 	if ( gtkSubDumpMPSub ) stream_dump_type=4;
 	if ( gtkSubDumpSrt ) stream_dump_type=6;