cppcheck analysis of amphetamine_0.8.10-14.dsc
- ./src/ConstVal.cpp:217 [error] - Uninitialized variable: key
- ./src/Object.hpp:29 [error] - Class CObject which is inherited by class CElement does not have a virtual destructor
- ./src/File.hpp:62 [error] - Class CFile which is inherited by class CLevel does not have a virtual destructor
- ./src/Level.cpp:93 [possible error] - Memory leak: thing
- ./src/File.hpp:62 [error] - Class CFile which is inherited by class CObjInfo does not have a virtual destructor
- ./src/Shape.hpp:17 [error] - Class CShape which is inherited by class CMaskedShape does not have a virtual destructor
- ./src/SndSys.cpp:112 [error] - Memory leak: newstate
- ./src/System.cpp:549 [error] - Mismatching allocation and deallocation: tmp
- ./src/System.cpp:551 [error] - Mismatching allocation and deallocation: tmp
- ./src/System.cpp:554 [error] - Mismatching allocation and deallocation: tmp
- ./src/System.hpp:70 [possible error] - Memory leak: CSystem::palette
- ./src/System.hpp:77 [possible error] - Memory leak: CSystem::homeDir
- ./src/System.hpp:78 [possible error] - Memory leak: CSystem::dataDir
- ./src/Weapon.cpp:55 [possible error] - Memory leak: temp
- ./src/Weapon.cpp:150 [possible error] - Memory leak: temp
- ./src/Weapon.cpp:222 [possible error] - Memory leak: temp
- ./src/Weapon.cpp:291 [possible error] - Memory leak: temp
- ./src/Weapon.cpp:320 [possible error] - Memory leak: temp
- ./src/Weapon.cpp:343 [possible error] - Memory leak: temp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:02 +0000, based on results by cppcheck 1.41-modif