cppcheck analysis of simutrans_102.2.2~ds1-1.dsc
- ./tpl/vector_tpl.h:238 [information] - Failed to instantiate template. The checking continues anyway.
- ./ifc/gui_action_creator.h:20 [error] - Class gui_action_creator_t which is inherited by class gui_scrolled_list_t does not have a virtual destructor
- ./tpl/sparse_tpl.h:223 [information] - Failed to instantiate template. The checking continues anyway.
- ./besch/writer/image_writer.cc:306 [error] - Mismatching allocation and deallocation: image
- ./besch/writer/obj_writer.cc:122 [error] - Mismatching allocation and deallocation: buf
- ./besch/writer/root_writer.cc:405 [error] - Mismatching allocation and deallocation: buf
- ./besch/writer/text_writer.cc:29 [error] - Mismatching allocation and deallocation: buf
- ./besch/writer/xref_writer.cc:40 [error] - Mismatching allocation and deallocation: buf
- ./dataobj/loadsave.cc:856 [error] - Uninitialized variable: id
- ./font.cc:225 [error] - Memory leak: screen_widths
- ./font.cc:225 [error] - Memory leak: data
- ./font.cc:375 [error] - Resource leak: f
- ./font.cc:241 [error] - Resource leak: f
- ./ifc/gui_action_creator.h:20 [error] - Class gui_action_creator_t which is inherited by class gui_combobox_t does not have a virtual destructor
- ./ifc/gui_action_creator.h:20 [error] - Class gui_action_creator_t which is inherited by class gui_textinput_t does not have a virtual destructor
- ./gui/enlarge_map_frame_t.h:20 [possible error] - Memory leak: enlarge_map_frame_t::sets
- ./gui/stadt_info.h:48 [possible error] - Memory leak: stadt_info_t::pax_dest_old
- ./gui/stadt_info.h:49 [possible error] - Memory leak: stadt_info_t::pax_dest_new
- ./tpl/weighted_vector_tpl.h:314 [information] - Failed to instantiate template. The checking continues anyway.
- ./simdepot.cc:410 [possible error] - Memory leak: v
- ./simmenu.h:276 [possible error] - Memory leak: toolbar_t::wzw
- ./simview.cc:219 [error] - Possible null pointer dereference: welt - otherwise it is redundant to check if welt is null at line 249
- ./simworld.cc:4211 [possible error] - Memory leak: fab
- ./sound/win32_sound.cc:64 [error] - Resource leak: fIn
- ./utils/dr_rdppm.c:64 [error] - Resource leak: file
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 06:02:19 +0000, based on results by cppcheck 1.41-modif