cppcheck analysis of adonthell_0.3.5-5.dsc
- ./src/win_object.h:54 [possible error] - Memory leak: win_object<label>::img_tmp_
- ./src/win_object.h:55 [possible error] - Memory leak: win_object<label>::img_brightness_
- ./src/win_object.h:54 [possible error] - Memory leak: win_object<mapview>::img_tmp_
- ./src/win_object.h:55 [possible error] - Memory leak: win_object<mapview>::img_brightness_
- ./src/audio.cc:369 [error] - Uninitialized variable: have_args
- ./src/data_screen.h:111 [possible error] - Memory leak: data_screen::entry
- ./src/data_screen.h:112 [possible error] - Memory leak: data_screen::image_list
- ./src/win_object.h:54 [possible error] - Memory leak: win_object<label_input>::img_tmp_
- ./src/win_object.h:55 [possible error] - Memory leak: win_object<label_input>::img_brightness_
- ./src/win_object.h:54 [possible error] - Memory leak: win_object<image>::img_tmp_
- ./src/win_object.h:55 [possible error] - Memory leak: win_object<image>::img_brightness_
- ./src/dialog_screen.h:126 [possible error] - Memory leak: dialog_screen::face
- ./src/dialog_screen.h:132 [possible error] - Memory leak: dialog_screen::name
- ./src/dialog_screen.h:144 [possible error] - Memory leak: dialog_screen::sel
- ./src/fileops.cc:212 [error] - Uninitialized variable: strl
- ./src/fileops.cc:246 [error] - Uninitialized variable: f
- ./src/fileops.cc:375 [error] - Uninitialized variable: vinfo
- ./src/gamedata.cc:452 [possible error] - Memory leak: gdata
- ./src/image.cc:251 [possible error] - Memory leak: imt
- ./src/image.cc:125 [error] - Uninitialized variable: l
- ./src/image.cc:125 [error] - Uninitialized variable: h
- ./src/image.cc:250 [error] - Uninitialized variable: imt
- ./src/mapcharacter.cc:193 [error] - Uninitialized variable: b
- ./src/mapview.cc:194 [error] - Uninitialized variable: bo
- ./src/py_adonthell_wrap.cc:3237 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:3391 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:3706 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:4203 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:4862 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:5178 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:5207 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:5614 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6103 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6145 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6187 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6295 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6337 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6475 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6731 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:6928 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:7197 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:7768 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:8154 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:9584 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:9991 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:10004 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:12285 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:12327 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:13658 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:14132 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:15182 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:16148 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:16190 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:16232 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:16627 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:16813 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:17667 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:20664 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:20706 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:20748 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:21575 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:23035 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:23923 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:24345 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:24549 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:25203 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:25534 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:26222 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:26985 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:27005 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:27369 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:27610 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:27652 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:27871 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:28101 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:28476 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:28949 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:29342 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:29460 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:29521 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:29694 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:29728 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:30135 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:30221 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:31203 [possible error] - Memory leak: result
- ./src/py_adonthell_wrap.cc:31326 [possible error] - Memory leak: result
- ./src/py_callback.cc:125 [error] - Uninitialized variable: has_args
- ./src/win_border.h:35 [error] - Class win_border which is inherited by class win_base does not have a virtual destructor
- ./src/drawing_area.h:50 [error] - Class drawing_area which is inherited by class win_base does not have a virtual destructor
- ./src/win_background.h:32 [error] - Class win_background which is inherited by class win_base does not have a virtual destructor
- ./src/win_container.cc:80 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/win_container.cc:99 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/win_font.cc:94 [error] - Possible null pointer dereference: font - otherwise it is redundant to check if font is null at line 98
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:45:59 +0000, based on results by cppcheck 1.41-modif