cppcheck analysis of spl_1.0~pre6-2.dsc
- ./compiler.c:5739 [error] - Memory leak: __new
- ./compiler.c:6486 [error] - Memory leak: __new
- ./compiler.c:6509 [error] - Memory leak: text
- ./compiler.c:7437 [error] - Memory leak: __new
- ./compiler.c:2955 [error] - Memory leak: yyptr
- ./exec.c:691 [error] - Common realloc mistake: "newtext" nulled but not freed upon failure
- ./exec.c:770 [error] - Common realloc mistake: "newtext" nulled but not freed upon failure
- ./httpsrv.c:59 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./restore.c:203 [error] - Common realloc mistake: "value" nulled but not freed upon failure
- ./restore.c:237 [error] - Common realloc mistake: "value" nulled but not freed upon failure
- ./restore.c:478 [error] - Memory leak: task
- ./spl_modules/mod_cgi.c:689 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./spl_modules/mod_cgi.c:873 [error] - instance of "spl_hnode" object destroyed immediately
- ./spl_modules/mod_environ.c:92 [error] - instance of "spl_hnode" object destroyed immediately
- ./spl_modules/mod_file.c:160 [error] - Resource leak: fd
- ./spl_modules/mod_gyro.c:105 [error] - Resource leak: fd
- ./spl_modules/mod_multimouse.c:283 [error] - instance of "spl_hnode" object destroyed immediately
- ./spl_modules/mod_prime.c:100 [error] - instance of "spl_hnode" object destroyed immediately
- ./spl_modules/mod_qt.c:449 [error] - Memory leak: e
- ./spl_modules/mod_qt.c:1957 [error] - instance of "spl_hnode" object destroyed immediately
- ./spl_modules/mod_sdl.c:846 [error] - Common realloc mistake: "sprite_list" nulled but not freed upon failure
- ./spl_modules/mod_sql_mysql.c:247 [error] - Common realloc mistake: "newtext" nulled but not freed upon failure
- ./util.c:97 [error] - Possible null pointer dereference: task - otherwise it is redundant to check if task is null at line 99
- ./util.c:183 [error] - Resource leak: fd
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:18:44 +0000, based on results by cppcheck 1.46