cppcheck analysis of cultivation_8.20070809.dfsg1-3.dsc
- ./game2/gameSource/game.cpp:301 [possible error] - Memory leak: GameSceneHandler::mUserControlledGardener
- ./game2/gameSource/game.cpp:309 [possible error] - Memory leak: GameSceneHandler::mMainPanel
- ./game2/gameSource/game.cpp:310 [possible error] - Memory leak: GameSceneHandler::mSidePanel
- ./game2/gameSource/game.cpp:313 [possible error] - Memory leak: GameSceneHandler::mTutorialTextBlock
- ./game2/gameSource/game.cpp:328 [possible error] - Memory leak: GameSceneHandler::mPlantButton
- ./game2/gameSource/game.cpp:329 [possible error] - Memory leak: GameSceneHandler::mPlotButton
- ./game2/gameSource/game.cpp:330 [possible error] - Memory leak: GameSceneHandler::mWaterButton
- ./game2/gameSource/game.cpp:331 [possible error] - Memory leak: GameSceneHandler::mHarvestButton
- ./game2/gameSource/game.cpp:332 [possible error] - Memory leak: GameSceneHandler::mMateButton
- ./game2/gameSource/game.cpp:333 [possible error] - Memory leak: GameSceneHandler::mFollowButton
- ./game2/gameSource/game.cpp:334 [possible error] - Memory leak: GameSceneHandler::mPoisonButton
- ./game2/gameSource/game.cpp:337 [possible error] - Memory leak: GameSceneHandler::mQuitButton
- ./game2/gameSource/game.cpp:338 [possible error] - Memory leak: GameSceneHandler::mEatButton
- ./game2/gameSource/game.cpp:339 [possible error] - Memory leak: GameSceneHandler::mGiftButton
- ./game2/gameSource/game.cpp:340 [possible error] - Memory leak: GameSceneHandler::mDiscardButton
- ./game2/gameSource/game.cpp:342 [possible error] - Memory leak: GameSceneHandler::mSelector
- ./game2/gameSource/game.cpp:345 [possible error] - Memory leak: GameSceneHandler::mStopTutorialButton
- ./game2/gameSource/game.cpp:346 [possible error] - Memory leak: GameSceneHandler::mNextTutorialButton
- ./minorGems/crypto/hashes/sha1Test.cpp:80 [error] - Mismatching allocation and deallocation: testString
- ./minorGems/graphics/converters/unix/JPEGImageConverterUnix.cpp:227 [possible error] - Memory leak: file
- ./minorGems/graphics/converters/unix/JPEGImageConverterUnix.cpp:327 [error] - Memory leak: fileName
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: graphics
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: mouse
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: mouseMap2
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: mouseMap3
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: xDelta
- ./minorGems/graphics/linux/SDLTest.cpp:159 [possible error] - Memory leak: yDelta
- ./minorGems/graphics/openGL/RadiosGLView.cpp:622 [error] - Memory leak: stringBuffer
- ./minorGems/graphics/openGL/testNavigatorGL.cpp:29 [possible error] - Memory leak: randSource
- ./minorGems/graphics/openGL/testNavigatorGL.cpp:29 [possible error] - Memory leak: screen
- ./minorGems/graphics/openGL/SceneNavigatorDisplayGL.h:127 [possible error] - Memory leak: SceneNavigatorDisplayGL::mMoveDirection
- ./minorGems/graphics/openGL/SceneNavigatorDisplayGL.h:128 [possible error] - Memory leak: SceneNavigatorDisplayGL::mRotationOffset
- ./minorGems/graphics/openGL/LightingGL.h:20 [error] - Class LightingGL which is inherited by class DirectionLightingGL does not have a virtual destructor
- ./minorGems/graphics/openGL/LightingGL.h:20 [error] - Class LightingGL which is inherited by class MultiLightingGL does not have a virtual destructor
- ./minorGems/graphics/openGL/MouseHandlerGL.h:18 [error] - Class MouseHandlerGL which is inherited by class TestHandlerGL does not have a virtual destructor
- ./minorGems/graphics/openGL/KeyboardHandlerGL.h:24 [error] - Class KeyboardHandlerGL which is inherited by class TestHandlerGL does not have a virtual destructor
- ./minorGems/graphics/openGL/SceneHandlerGL.h:18 [error] - Class SceneHandlerGL which is inherited by class TestHandlerGL does not have a virtual destructor
- ./minorGems/graphics/openGL/testScreenGL.cpp:33 [possible error] - Memory leak: screen
- ./minorGems/network/socketTest.cpp:50 [possible error] - Memory leak: server
- ./minorGems/system/TestThread.cpp:53 [possible error] - Memory leak: thread3
- ./minorGems/util/development/leakTracer/LeakTracer.cc:148 [possible error] - Memory leak: LeakTracer::leakHash
- ./minorGems/util/development/leakTracer/test.cc:15 [error] - Memory leak: x
- ./minorGems/util/development/leakTracer/test.cc:27 [possible error] - Memory leak: str
- ./minorGems/util/development/leakTracer/test.cc:23 [error] - Mismatching allocation and deallocation: z
- ./minorGems/util/development/leakTracer/test.cc:24 [error] - Mismatching allocation and deallocation: z
- ./minorGems/util/development/leakTracer/test.cc:24 [error] - Deallocating a deallocated pointer: z
- ./minorGems/util/development/memory/testDebugMemory.cpp:81 [error] - Memory leak: y
- ./minorGems/util/development/memory/testDebugMemory.cpp:71 [error] - Mismatching allocation and deallocation: z
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:50 +0000, based on results by cppcheck 1.41-modif