aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2010-12-05 21:52:42 +0000
committerDavid Turner2010-12-05 21:52:42 +0000
commit7adecddbfcb92b201e2df49d304c22d21be8c3ca (patch)
treeee89834def66c48cfa4c59a523d69112636f5db9 /engines
parent669ad3d217bbc322f7a443786229ea46642df1fc (diff)
downloadscummvm-rg350-7adecddbfcb92b201e2df49d304c22d21be8c3ca.tar.gz
scummvm-rg350-7adecddbfcb92b201e2df49d304c22d21be8c3ca.tar.bz2
scummvm-rg350-7adecddbfcb92b201e2df49d304c22d21be8c3ca.zip
HUGO: Remove Invalid Memory Read in getSound() - Size not defined until after function returns.
svn-id: r54787
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 36d0f17beb..e168fb70b1 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -250,7 +250,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) {
* any allocated memory. Also returns size of data
*/
sound_pt FileManager::getSound(int16 sound, uint16 *size) {
- debugC(1, kDebugFile, "getSound(%d, %d)", sound, *size);
+ debugC(1, kDebugFile, "getSound(%d)", sound);
// No more to do if SILENCE (called for cleanup purposes)
if (sound == _vm->_soundSilence)