mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 15:09:47 +00:00
WINTERMUTE: Avoid doing check before delete (deleting 0-pointer is safe)
This commit is contained in:
parent
388fbdb6eb
commit
1a571d9611
@ -92,10 +92,7 @@ void VideoTheoraPlayer::SetDefaults() {
|
|||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
VideoTheoraPlayer::~VideoTheoraPlayer(void) {
|
VideoTheoraPlayer::~VideoTheoraPlayer(void) {
|
||||||
cleanup();
|
cleanup();
|
||||||
if(_subtitler) {
|
delete _subtitler;
|
||||||
delete _subtitler;
|
|
||||||
_subtitler = NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user