aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
diff options
context:
space:
mode:
authorTobia Tesan2014-02-05 16:22:21 +0100
committerTobia Tesan2014-10-15 21:36:44 +0200
commit113e837d557d4316efc83b771480199a5cc023c8 (patch)
tree99ccebdc276c90e8f84ce45868b12a4bad7c6f38 /engines/wintermute/video/video_theora_player.cpp
parent0475fd1a5c845fe785184bafa42b9302c814b654 (diff)
downloadscummvm-rg350-113e837d557d4316efc83b771480199a5cc023c8.tar.gz
scummvm-rg350-113e837d557d4316efc83b771480199a5cc023c8.tar.bz2
scummvm-rg350-113e837d557d4316efc83b771480199a5cc023c8.zip
WINTERMUTE: Correctly delete _subtitler (which is not an array)
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}