summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-31 13:26:46 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-31 13:26:46 +0000
commit0246dff153cdf86bfa283f618777cb601ccbf114 (patch)
tree77334090496b5fc9c5aa6567008c17b209b699b1 /Gui/mplayer
parent0b4294fe822677918e0829132af73bf6ed577a09 (diff)
downloadmpv-0246dff153cdf86bfa283f618777cb601ccbf114.tar.bz2
mpv-0246dff153cdf86bfa283f618777cb601ccbf114.tar.xz
upsz 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6858 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer')
-rw-r--r--Gui/mplayer/play.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c
index 5c400be489..d51328132e 100644
--- a/Gui/mplayer/play.c
+++ b/Gui/mplayer/play.c
@@ -97,8 +97,8 @@ void mplEnd( void )
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
{