cppcheck analysis of openttd_1.0.0~rc3-2.dsc
- ./os/dos/exe2coff.c:56 [error] - Resource leak: ifile
- ./os/os2/svnver1.c:3 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./os/os2/svnver2.c:1 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./src/ai/ai_gui.cpp:1015 [error] - Memory leak: w
- ./src/script/script_scanner.hpp:19 [error] - Class ScriptScanner which is inherited by class AIScanner does not have a virtual destructor
- ./src/gfx.cpp:724 [possible error] - Array index out of bounds
- ./src/gfx.cpp:724 [possible error] - Array index out of bounds
- ./src/group_cmd.cpp:98 [error] - Memory leak: g
- ./src/industry_cmd.cpp:76 [error] - Buffer access out-of-bounds
- ./src/ini.cpp:256 [error] - Memory leak: item
- ./src/misc/blob.hpp:99 [error] - Class CBlobBaseSimple which is inherited by class CBlobT<char,CBlobBaseSimple> does not have a virtual destructor
- ./src/rail_cmd.cpp:870 [error] - Memory leak: d
- ./src/rail_gui.cpp:908 [possible error] - Memory leak: w
- ./src/road_cmd.cpp:894 [error] - Memory leak: dep
- ./src/saveload/waypoint_sl.cpp:122 [possible error] - Memory leak: new_wp
- ./src/settings.cpp:1290 [error] - Memory leak: item
- ./src/signs_cmd.cpp:60 [possible error] - Memory leak: si
- ./src/thread/thread_morphos.cpp:198 [possible error] - Memory leak: to
- ./src/thread/thread_os2.cpp:88 [possible error] - Memory leak: to
- ./src/thread/thread_pthread.cpp:90 [possible error] - Memory leak: to
- ./src/thread/thread_win32.cpp:101 [possible error] - Memory leak: to
- ./src/town_cmd.cpp:1609 [error] - Memory leak: t
- ./src/vehicle_gui.cpp:510 [error] - Memory leak: w
- ./src/water_cmd.cpp:143 [error] - Memory leak: depot
- ./src/waypoint_cmd.cpp:370 [possible error] - Memory leak: wp
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:59:47 +0000, based on results by cppcheck 1.41-modif