cppcheck analysis of loki_2.4.7.4-4.dsc
- ./libsrc/min_deg.c:309 [error] - Memory leak: dlist
- ./libsrc/utils.c:210 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./libsrc/utils.c:230 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./lokisrc/alloc_loki.c:185 [error] - Common realloc mistake: "tlocus" nulled but not freed upon failure
- ./lokisrc/gen_pen.c:68 [error] - Common realloc mistake: "mem_list" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:309 [error] - Common realloc mistake: "complex_mem" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:524 [error] - Common realloc mistake: "complex_freq" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:578 [error] - Common realloc mistake: "complex_pen" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:1107 [error] - Common realloc mistake: "complex_out_p" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:1174 [error] - Common realloc mistake: "complex_pen" nulled but not freed upon failure
- ./lokisrc/loki_complex_peel.c:126 [error] - Memory leak: p
- ./lokisrc/loki_sample.c:583 [error] - Resource leak: fmpos
- ./lokisrc/meiosis_scan.c:56 [error] - Common realloc mistake: "mem_list" nulled but not freed upon failure
- ./lokisrc/print_data.c:153 [error] - Memory leak: perm
- ./lokisrc/read_binfiles.c:121 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./lokisrc/sample_effects.c:409 [error] - Common realloc mistake: "XX" nulled but not freed upon failure
- ./lokisrc/sample_effects.c:410 [error] - Common realloc mistake: "zero" nulled but not freed upon failure
- ./lokisrc/sample_effects.c:411 [error] - Common realloc mistake: "B" nulled but not freed upon failure
- ./lokisrc/sample_effects.c:425 [error] - Common realloc mistake: "entry" nulled but not freed upon failure
- ./prepsrc/control_lex.c:2685 [error] - Common realloc mistake: "loop_stack" nulled but not freed upon failure
- ./prepsrc/control_lex.c:2747 [error] - Common realloc mistake: "stringptr" nulled but not freed upon failure
- ./prepsrc/control_lex.c:2768 [error] - Common realloc mistake: "stringptr" nulled but not freed upon failure
- ./prepsrc/control_parse.c:3293 [error] - Common realloc mistake: "f_atom_list" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:296 [error] - Common realloc mistake: "kids" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:313 [error] - Common realloc mistake: "m_set1" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:928 [error] - Common realloc mistake: "r_func" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:1060 [error] - Common realloc mistake: "mat" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:1216 [error] - Common realloc mistake: "r_func" nulled but not freed upon failure
- ./prepsrc/gen_elim.c:1145 [error] - Memory leak: trans
- ./prepsrc/gen_elim.c:1172 [error] - Memory leak: bk_flags
- ./prepsrc/restrict_data.c:64 [error] - Common realloc mistake: "Op_Stack" nulled but not freed upon failure
- ./prepsrc/setup_ped.c:450 [error] - Common realloc mistake: "ped_recode" nulled but not freed upon failure
- ./prepsrc/setup_ped.c:451 [error] - Common realloc mistake: "id_array" nulled but not freed upon failure
- ./prepsrc/write_report.c:178 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./prepsrc/write_report.c:233 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./utils/hist.c:254 [error] - Memory leak: binps
- ./utils/qavg.c:110 [error] - Common realloc mistake: "linedata" nulled but not freed upon failure
- ./utils/qavg.c:111 [error] - Common realloc mistake: "coldata" nulled but not freed upon failure
- ./utils/qavg.c:112 [error] - Common realloc mistake: "ncols" nulled but not freed upon failure
- ./utils/qavg.c:124 [error] - Common realloc mistake: "sum" nulled but not freed upon failure
- ./utils/qavg.c:125 [error] - Common realloc mistake: "sum2" nulled but not freed upon failure
- ./utils/qavg.c:126 [error] - Common realloc mistake: "nn" nulled but not freed upon failure
- ./utils/qavg.c:127 [error] - Common realloc mistake: "min" nulled but not freed upon failure
- ./utils/qavg.c:128 [error] - Common realloc mistake: "max" nulled but not freed upon failure
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 21:58:09 +0000, based on results by cppcheck 1.46