aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Ad
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-12 15:58:32 +0200
committerEinar Johan Trøan Sømåen2012-06-12 15:58:32 +0200
commitc2a2a816f1f3ca39867a150fb224376b784b5ce0 (patch)
treeadd594cfd7524eb57906ecd38a221da6ddd71007 /engines/wintermute/Ad
parenteb6895ed6be52a772b4f2bd3e0c4b408202170ea (diff)
downloadscummvm-rg350-c2a2a816f1f3ca39867a150fb224376b784b5ce0.tar.gz
scummvm-rg350-c2a2a816f1f3ca39867a150fb224376b784b5ce0.tar.bz2
scummvm-rg350-c2a2a816f1f3ca39867a150fb224376b784b5ce0.zip
WINTERMUTE: Make sure to NULL-out _theora in AdEntity.
Diffstat (limited to 'engines/wintermute/Ad')
-rw-r--r--engines/wintermute/Ad/AdEntity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/Ad/AdEntity.cpp b/engines/wintermute/Ad/AdEntity.cpp
index b7d93d6bd3..91b9123697 100644
--- a/engines/wintermute/Ad/AdEntity.cpp
+++ b/engines/wintermute/Ad/AdEntity.cpp
@@ -611,6 +611,7 @@ HRESULT CAdEntity::Update() {
if (_theora->isFinished()) {
_theora->stop();
delete _theora;
+ _theora = NULL;
}
}