cppcheck analysis of snd_11.1-1.dsc
- ./audio.c:10168 [error] - Common realloc mistake: "save_it" nulled but not freed upon failure
- ./clm.c:231 [error] - Common realloc mistake: "base" nulled but not freed upon failure
- ./clm.c:9163 [error] - Common realloc mistake: "sinc_widths" nulled but not freed upon failure
- ./clm2xen.c:5233 [error] - Memory leak: brkpts
- ./headers.c:2630 [error] - Common realloc mistake: "soundfont_starts" nulled but not freed upon failure
- ./headers.c:2631 [error] - Common realloc mistake: "soundfont_ends" nulled but not freed upon failure
- ./headers.c:2632 [error] - Common realloc mistake: "soundfont_loop_starts" nulled but not freed upon failure
- ./headers.c:2633 [error] - Common realloc mistake: "soundfont_loop_ends" nulled but not freed upon failure
- ./headers.c:5271 [error] - Memory leak: line
- ./midi.c:88 [error] - Common realloc mistake: "midi_directions" nulled but not freed upon failure
- ./run.c:4076 [error] - Possible null pointer dereference: false_result - otherwise it is redundant to check if false_result is null at line 4080
- ./run.c:845 [error] - Memory leak: buf
- ./run.c:4697 [error] - Memory leak: c
- ./s7.c:11953 [error] - Common realloc mistake: "object_types" nulled but not freed upon failure
- ./snd-chn.c:1861 [error] - Memory leak: data
- ./snd-chn.c:1861 [error] - Memory leak: data1
- ./snd-dac.c:2574 [error] - Common realloc mistake: "player_chans" nulled but not freed upon failure
- ./snd-dac.c:1161 [error] - Memory leak: dp
- ./snd-dac.c:1194 [error] - Memory leak: dp
- ./snd-dac.c:1212 [error] - Memory leak: dp
- ./snd-dac.c:2743 [error] - Memory leak: mx
- ./snd-edits.c:5460 [error] - Possible null pointer dereference: xramp_begs
- ./snd-env.c:1327 [error] - Common realloc mistake: "env_buffer" nulled but not freed upon failure
- ./snd-fft.c:2057 [error] - Memory leak: fvals
- ./snd-fft.c:2179 [error] - Memory leak: mx
- ./snd-gmain.c:366 [error] - Invalid number of character (() when these macros are defined: 'HAVE_EXTENSION_LANGUAGE'.
- ./snd-gmain.c:240 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./snd-gmenu.c:1397 [error] - Common realloc mistake: "added_options_menus" nulled but not freed upon failure
- ./snd-gmenu.c:1398 [error] - Common realloc mistake: "added_options_callb" nulled but not freed upon failure
- snd-prefs.c:541 [error] - Uninitialized variable: str
- snd-prefs.c:567 [error] - Uninitialized variable: str
- ./snd-gxcolormaps.c:974 [error] - Memory leak: mx
- ./snd-kbd.c:473 [error] - Common realloc mistake: "user_keymap" nulled but not freed upon failure
- ./snd-listener.c:357 [error] - Common realloc mistake: "listener_positions" nulled but not freed upon failure
- ./snd-marks.c:2096 [error] - Memory leak: mx
- ./snd-menu.c:321 [error] - Common realloc mistake: "menu_functions" nulled but not freed upon failure
- ./snd-menu.c:323 [error] - Common realloc mistake: "menu_functions_loc" nulled but not freed upon failure
- ./snd-mix.c:2594 [error] - Memory leak: mx
- ./snd-mix.c:3540 [error] - Memory leak: mf
- ./snd-mix.c:3542 [error] - Memory leak: mf
- ./snd-region.c:1415 [error] - Memory leak: mx
- ./snd-region.c:2030 [error] - Memory leak: data
- ./snd-select.c:916 [error] - Memory leak: mx
- ./snd-sig.c:5126 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 5131
- ./snd-sig.c:5130 [error] - Possible null pointer dereference: e - otherwise it is redundant to check if e is null at line 5131
- ./snd-sig.c:3414 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./snd-sig.c:3435 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./snd-snd.c:2498 [error] - Memory leak: mx
- ./snd-xdraw.c:241 [error] - Common realloc mistake: "current_colors" nulled but not freed upon failure
- ./snd-xen.c:2652 [error] - Common realloc mistake: "watchers" nulled but not freed upon failure
- ./snd-xmain.c:677 [error] - Invalid number of character (() when these macros are defined: 'HAVE_EXTENSION_LANGUAGE'.
- ./snd-xmain.c:379 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./snd-xmenu.c:41 [error] - Common realloc mistake: "recent_file_items" nulled but not freed upon failure
- ./snd-xmenu.c:226 [error] - Common realloc mistake: "view_files_items" nulled but not freed upon failure
- ./snd-xmenu.c:1156 [error] - Common realloc mistake: "main_menus" nulled but not freed upon failure
- ./sndinfo.c:126 [error] - Memory leak: format_info
- ./sndinfo.c:126 [error] - Memory leak: ampstr
- ./sndlib2xen.c:1047 [error] - Common realloc mistake: "audio_io_lines" nulled but not freed upon failure
- ./sndlib2xen.c:1048 [error] - Common realloc mistake: "audio_io_formats" nulled but not freed upon failure
- ./sndlib2xen.c:1738 [error] - Memory leak: sd
- ./sndlib2xen.c:1750 [error] - Memory leak: sd
- ./sound.c:1111 [error] - Common realloc mistake: "sc" nulled but not freed upon failure
- ./tools/crossref.c:567 [error] - Common realloc mistake: "all_names_counts" nulled but not freed upon failure
- ./vct.c:331 [error] - Memory leak: new_vct
- ./vct.c:342 [error] - Memory leak: new_vct
- ./vct.c:197 [error] - Uninitialized variable: flt
- ./xg.c:34544 [error] - Memory leak: arr
- ./xg.c:34550 [error] - Memory leak: arr
- ./xg.c:34556 [error] - Memory leak: arr
- ./xg.c:34562 [error] - Memory leak: arr
- ./xg.c:34568 [error] - Memory leak: arr
- ./xg.c:34574 [error] - Memory leak: arr
- ./xg.c:34586 [error] - Memory leak: arr
- ./xg.c:34592 [error] - Memory leak: arr
- ./xg.c:34598 [error] - Memory leak: arr
- ./xg.c:34610 [error] - Memory leak: arr
- ./xg.c:34616 [error] - Memory leak: arr
- ./xg.c:34622 [error] - Memory leak: arr
- ./xg.c:34628 [error] - Memory leak: arr
- ./xg.c:34889 [error] - Memory leak: result
- ./xg.c:34904 [error] - Memory leak: result
- ./xg.c:34919 [error] - Memory leak: result
- ./xg.c:34936 [error] - Memory leak: result
- ./xg.c:34951 [error] - Memory leak: result
- ./xg.c:34957 [error] - Memory leak: result
- ./xg.c:34964 [error] - Memory leak: result
- ./xg.c:34971 [error] - Memory leak: result
- ./xg.c:34978 [error] - Memory leak: result
- ./xg.c:34985 [error] - Memory leak: result
- ./xg.c:34992 [error] - Memory leak: result
- ./xg.c:35000 [error] - Memory leak: result
- ./xm.c:741 [error] - Memory leak: e
- ./xm.c:751 [error] - Memory leak: e
- ./xm.c:20218 [error] - Memory leak: r
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 22 Dec 2010 03:00:32 +0000, based on results by cppcheck 1.46