diff options
author | Torbjörn Andersson | 2005-12-11 08:30:48 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-12-11 08:30:48 +0000 |
commit | 7cbb9af1137a55f4b840ea980f5c6133f6697d4d (patch) | |
tree | ddfa31a542ff2080b58a82d0287bba26e51301ae /sword2/sound.h | |
parent | 38c3df43933b18682ee0c78c9eb2a8e078f9ab64 (diff) | |
download | scummvm-rg350-7cbb9af1137a55f4b840ea980f5c6133f6697d4d.tar.gz scummvm-rg350-7cbb9af1137a55f4b840ea980f5c6133f6697d4d.tar.bz2 scummvm-rg350-7cbb9af1137a55f4b840ea980f5c6133f6697d4d.zip |
Fixed Valgrind memory leak warnings, either by freeing memory on exit or
(in one case) by not allocating file handles dynamically. While this isn't
really necessary at the moment, it makes it easier to find the real memory
leaks, if there are any.
svn-id: r19775
Diffstat (limited to 'sword2/sound.h')
-rw-r--r-- | sword2/sound.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/sound.h b/sword2/sound.h index 05ff4a43b7..60e31946bd 100644 --- a/sword2/sound.h +++ b/sword2/sound.h @@ -109,7 +109,7 @@ public: }; struct SoundFileHandle { - Common::File *file; + Common::File file; uint32 *idxTab; uint32 idxLen; uint32 fileSize; |