aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSven Hesse2009-11-27 20:28:37 +0000
committerSven Hesse2009-11-27 20:28:37 +0000
commit447711b597f2fc410b0efdbb9d09a4713930dcdc (patch)
tree2d350a9342e815184065612ea888f1f1a47dbf3f /graphics
parentc8b8ab679fac5907222b33269fc2ee75ffd9aca9 (diff)
downloadscummvm-rg350-447711b597f2fc410b0efdbb9d09a4713930dcdc.tar.gz
scummvm-rg350-447711b597f2fc410b0efdbb9d09a4713930dcdc.tar.bz2
scummvm-rg350-447711b597f2fc410b0efdbb9d09a4713930dcdc.zip
Fixing an invalid read in the destructor
svn-id: r46164
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/avi_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/avi_decoder.cpp b/graphics/video/avi_decoder.cpp
index 4d728bdbb8..8d76b7106e 100644
--- a/graphics/video/avi_decoder.cpp
+++ b/graphics/video/avi_decoder.cpp
@@ -53,8 +53,8 @@ AviDecoder::AviDecoder(Audio::Mixer *mixer) : _mixer(mixer) {
}
AviDecoder::~AviDecoder() {
- delete _audHandle;
closeFile();
+ delete _audHandle;
}
void AviDecoder::runHandle(uint32 tag) {