diff options
author | Einar Johan Trøan Sømåen | 2012-06-12 15:58:32 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-12 15:58:32 +0200 |
commit | c2a2a816f1f3ca39867a150fb224376b784b5ce0 (patch) | |
tree | add594cfd7524eb57906ecd38a221da6ddd71007 /engines/wintermute/Ad | |
parent | eb6895ed6be52a772b4f2bd3e0c4b408202170ea (diff) | |
download | scummvm-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.cpp | 1 |
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;
}
}
|