cppcheck analysis of navit_0.2.0~svn2974+dfsg.1-1.dsc
- ./navit/binding/python/binding_python.c:370 [possible error] - Resource leak: fd
- ./navit/command.c:764 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./navit/command.c:781 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./navit/command.c:801 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./navit/command.c:828 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
- ./navit/graphics.c:2004 [error] - Memory leak: ret
- ./navit/graphics/gd/graphics_gd.c:605 [error] - Memory leak: ret
- ./navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp:86 [possible error] - Memory leak: RenderArea::pixmap
- ./navit/graphics/sdl/graphics_sdl.c:2130 [error] - Memory leak: this
- ./navit/gui/internal/gui_internal.c:2844 [error] - Memory leak: text
- ./navit/gui/internal/gui_internal.c:3267 [error] - Mismatching allocation and deallocation: country
- ./navit/gui/internal/gui_internal.c:4034 [error] - Memory leak: type
- ./navit/gui/internal/gui_internal.c:4143 [possible error] - Memory leak: text_stripped
- ./navit/log.c:234 [possible error] - Memory leak: ret
- ./navit/map/garmin/garmin.c:208 [error] - Mismatching allocation and deallocation: mr
- ./navit/map/garmin/garmin.c:254 [error] - Mismatching allocation and deallocation: mr
- ./navit/map/garmin/garmin.c:253 [error] - Mismatching allocation and deallocation: gs
- ./navit/map/garmin/gentypes.c:91 [error] - Resource leak: fp
- ./navit/map/garmin/gentypes.c:134 [possible error] - Resource leak: fpout
- ./navit/map/shapefile/dbfopen.c:676 [error] - Memory leak: pszBasename
- ./navit/map/shapefile/shapefile.c:395 [error] - Memory leak: str
- ./navit/map/shapefile/shpopen.c:849 [error] - Memory leak: pszBasename
- ./navit/map/shapefile/shptree.c:235 [error] - Memory leak: psTree
- ./navit/maptool/maptool.c:569 [possible error] - Resource leak: input_file
- ./navit/maptool/osm.c:531 [possible error] - Memory leak: map
- ./navit/plugin/pedestrian/pedestrian.c:1106 [error] - Memory leak: data
- ./navit/speech/espeak/speak.c:387 [possible error] - Memory leak: phrase
- ./navit/vehicle/gypsy/vehicle_gypsy.c:258 [error] - Memory leak: source
- ./navit/xmlconfig.c:826 [error] - Mismatching allocation and deallocation: text_dup
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:04 +0000, based on results by cppcheck 1.41-modif