diff options
Diffstat (limited to 'Gui/mplayer/mw.c')
-rw-r--r-- | Gui/mplayer/mw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c index 48a75648a5..108570507e 100644 --- a/Gui/mplayer/mw.c +++ b/Gui/mplayer/mw.c @@ -87,8 +87,8 @@ void mplEventHandling( int msg,float param ) break; case evPlayNetwork: - if ( guiIntfStruct.Subtitlename ) { free( guiIntfStruct.Subtitlename ); guiIntfStruct.Subtitlename=NULL; } - if ( guiIntfStruct.AudioFile ) { free( guiIntfStruct.AudioFile ); guiIntfStruct.AudioFile=NULL; } + gfree( (void **)&guiIntfStruct.Subtitlename ); + gfree( (void **)&guiIntfStruct.AudioFile ); guiIntfStruct.StreamType=STREAMTYPE_STREAM; goto play; case evSetURL: |