cppcheck analysis of bzflag_2.0.13.20080902-1.dsc
- ./plugins/python/PyBZFlag.h:39 [possible error] - Memory leak: BZFlag::event_sub
- ./plugins/python/PyBZFlag.h:40 [possible error] - Memory leak: BZFlag::team_sub
- ./plugins/python/python.cpp:75 [error] - Mismatching allocation and deallocation: dir
- ./src/bzflag/AudioMenu.cxx:47 [possible error] - Memory leak: option
- ./src/bzflag/AudioMenu.h:39 [possible error] - Memory leak: AudioMenu::driver
- ./src/bzflag/AudioMenu.h:40 [possible error] - Memory leak: AudioMenu::device
- ./src/bzflag/CacheMenu.h:45 [possible error] - Memory leak: CacheMenu::failedMessage
- ./src/bzflag/CacheMenu.h:46 [possible error] - Memory leak: CacheMenu::cacheSize
- ./src/bzflag/HUDRenderer.h:133 [possible error] - Memory leak: HUDRenderer::scoreboard
- ./src/bzflag/InputMenu.cxx:47 [possible error] - Memory leak: option
- ./src/bzflag/InputMenu.h:47 [possible error] - Memory leak: InputMenu::keyMapping
- ./src/bzflag/InputMenu.h:48 [possible error] - Memory leak: InputMenu::activeInput
- ./src/bzflag/JoinMenu.h:60 [possible error] - Memory leak: JoinMenu::callsign
- ./src/bzflag/JoinMenu.h:61 [possible error] - Memory leak: JoinMenu::password
- ./src/bzflag/JoinMenu.h:62 [possible error] - Memory leak: JoinMenu::email
- ./src/bzflag/JoinMenu.h:63 [possible error] - Memory leak: JoinMenu::team
- ./src/bzflag/JoinMenu.h:64 [possible error] - Memory leak: JoinMenu::teamIcon
- ./src/bzflag/JoinMenu.h:65 [possible error] - Memory leak: JoinMenu::server
- ./src/bzflag/JoinMenu.h:66 [possible error] - Memory leak: JoinMenu::port
- ./src/bzflag/JoinMenu.h:67 [possible error] - Memory leak: JoinMenu::status
- ./src/bzflag/JoinMenu.h:68 [possible error] - Memory leak: JoinMenu::startServer
- ./src/bzflag/JoinMenu.h:69 [possible error] - Memory leak: JoinMenu::findServer
- ./src/bzflag/JoinMenu.h:70 [possible error] - Memory leak: JoinMenu::connectLabel
- ./src/bzflag/JoinMenu.h:71 [possible error] - Memory leak: JoinMenu::failedMessage
- ./src/bzflag/SaveWorldMenu.h:37 [possible error] - Memory leak: SaveWorldMenu::filename
- ./src/bzflag/SaveWorldMenu.h:38 [possible error] - Memory leak: SaveWorldMenu::status
- ./src/bzflag/ServerMenu.h:84 [possible error] - Memory leak: ServerMenu::help
- ./src/bzflag/ServerMenu.h:91 [possible error] - Memory leak: ServerMenu::search
- ./src/bzflag/bzflag.cxx:1082 [possible error] - Memory leak: pmainWindow
- ./src/bzflag/clientConfig.cxx:164 [possible error] - Resource leak: fp
- ./src/bzfs/bzfsAPI.cxx:830 [possible error] - Memory leak: playerRecord
- ./src/bzfs/bzfsAPI.cxx:1584 [possible error] - Memory leak: spawnPosition
- ./src/common/bzfio.cxx:56 [possible error] - Buffer access out-of-bounds
- ./src/geometry/MeshPolySceneNode.cxx:512 [possible error] - Memory leak: dists
- ./src/geometry/MeshPolySceneNode.cxx:512 [possible error] - Memory leak: array
- ./src/geometry/MeshPolySceneNode.cxx:721 [possible error] - Memory leak: dists
- ./src/geometry/MeshPolySceneNode.cxx:721 [possible error] - Memory leak: array
- ./src/geometry/WallSceneNode.cxx:585 [possible error] - Memory leak: dists
- ./src/geometry/WallSceneNode.cxx:585 [possible error] - Memory leak: array
- ./src/mediafile/MediaFile.cxx:354 [possible error] - Memory leak: file
- ./src/mediafile/OggAudioFile.cxx:39 [possible error] - Memory leak: bundle
- ./src/ogl/OpenGLGState.cxx:825 [possible error] - Memory leak: newState
- ./src/ogl/OpenGLGState.cxx:1567 [error] - Invalid number of character (() when these macros are defined: 'DEBUG_GL_MATRIX_STACKS'.
- ./src/platform/BeOSWindow.h:80 [possible error] - Memory leak: BeOSWindow::utilView
- ./src/platform/MacOSX/MacMedia.cxx:113 [possible error] - Mismatching allocation and deallocation: MacMedia::buffer
- ./src/platform/MacOSX/MacPlatformFactory.h:43 [possible error] - Memory leak: MacPlatformFactory::window
- ./src/platform/MacOSX/MacPlatformFactory.h:44 [possible error] - Memory leak: MacPlatformFactory::display
- ./src/platform/MacOSX/MacPlatformFactory.h:45 [possible error] - Memory leak: MacPlatformFactory::visual
- ./src/platform/MacOSX/MacPlatformFactory.h:46 [possible error] - Memory leak: MacPlatformFactory::media
- ./src/platform/MacOSX/MacVisual.cxx:148 [error] - Memory leak: attrib
- ./src/platform/MacOSX/MacWindow.cxx:282 [possible error] - Memory leak: DirectDisplay::display_ids
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:27 +0000, based on results by cppcheck 1.41-modif