aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTravis Howell2007-06-27 01:31:08 +0000
committerTravis Howell2007-06-27 01:31:08 +0000
commit6d7e938ca06124cb880a73c6a752f8b6ba89b8dc (patch)
tree59bf0283f5f63fb8a423cfa3fab12e107dfc1eaf /graphics
parent137862b00b6f97b8ab94273a0bd162d6f78c8e8c (diff)
downloadscummvm-rg350-6d7e938ca06124cb880a73c6a752f8b6ba89b8dc.tar.gz
scummvm-rg350-6d7e938ca06124cb880a73c6a752f8b6ba89b8dc.tar.bz2
scummvm-rg350-6d7e938ca06124cb880a73c6a752f8b6ba89b8dc.zip
Fix crash regression, when playing OmniTV videos in The Feeble Files. Caused by _fd not been reset, after been delete.
svn-id: r27735
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dxa_player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/dxa_player.cpp b/graphics/dxa_player.cpp
index 6f2bca111e..c4c9aaed55 100644
--- a/graphics/dxa_player.cpp
+++ b/graphics/dxa_player.cpp
@@ -152,6 +152,8 @@ void DXAPlayer::closeFile() {
return;
delete _fd;
+ _fd = 0;
+
free(_frameBuffer1);
free(_frameBuffer2);
free(_scaledBuffer);