Mercurial > mplayer.hg
diff Gui/mplayer/play.c @ 6857:397e7a1860f9
upsz 2
author | pontscho |
---|---|
date | Wed, 31 Jul 2002 13:26:46 +0000 |
parents | 77980ab4e296 |
children | c2d4100c964e |
line wrap: on
line diff
--- a/Gui/mplayer/play.c Wed Jul 31 05:25:57 2002 +0000 +++ b/Gui/mplayer/play.c Wed Jul 31 13:26:46 2002 +0000 @@ -97,8 +97,8 @@ guiSetDF( guiIntfStruct.Filename,next->path,next->name ); guiIntfStruct.StreamType=STREAMTYPE_FILE; guiIntfStruct.FilenameChanged=1; - if ( guiIntfStruct.AudioFile ) free( guiIntfStruct.AudioFile ); - guiIntfStruct.AudioFile=NULL; + gfree( (void **)&guiIntfStruct.AudioFile ); + gfree( (void **)&guiIntfStruct.Subtitlename ); } else {