diff options
author | Paul Gilbert | 2010-10-18 10:26:27 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-10-18 10:26:27 +0000 |
commit | ae63e206618821e3e2550927851353ac6aafaae6 (patch) | |
tree | dc1a275c03ad326b5c0b4e59ae1517f89fd24536 /engines/sword25/package | |
parent | ada933c2ad25bce6200d0edfb0df73ecca17b764 (diff) | |
download | scummvm-rg350-ae63e206618821e3e2550927851353ac6aafaae6.tar.gz scummvm-rg350-ae63e206618821e3e2550927851353ac6aafaae6.tar.bz2 scummvm-rg350-ae63e206618821e3e2550927851353ac6aafaae6.zip |
SWORD25: Fix for Valgrind identified errors
svn-id: r53563
Diffstat (limited to 'engines/sword25/package')
-rw-r--r-- | engines/sword25/package/packagemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/package/packagemanager.cpp b/engines/sword25/package/packagemanager.cpp index 063844f3ba..c80f0c6c84 100644 --- a/engines/sword25/package/packagemanager.cpp +++ b/engines/sword25/package/packagemanager.cpp @@ -160,7 +160,7 @@ byte *PackageManager::getFile(const Common::String &fileName, uint *fileSizePtr) return 0; } - if (*fileSizePtr) + if (fileSizePtr) *fileSizePtr = file->size(); byte *buffer = new byte[file->size()]; |