From 113e837d557d4316efc83b771480199a5cc023c8 Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Wed, 5 Feb 2014 16:22:21 +0100 Subject: WINTERMUTE: Correctly delete _subtitler (which is not an array) --- engines/wintermute/video/video_theora_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wintermute/video/video_theora_player.cpp') diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index a90fb02033..600eae8349 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -92,7 +92,7 @@ void VideoTheoraPlayer::SetDefaults() { VideoTheoraPlayer::~VideoTheoraPlayer(void) { cleanup(); if(_subtitler) { - delete [] _subtitler; + delete _subtitler; _subtitler = NULL; } } -- cgit v1.2.3