aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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;
}
}