Commit bf0be0e951cf1c4c9ce38032195cd8095a16d828
Committed by
Takashi Iwai
1 parent
46f2cc8051
Exists in
master
and in
7 other branches
ALSA: 6fire: Don't leak firmware in error path
One of the error paths in sound/usb/6fire/firmware.c::usb6fire_fw_ezusb_upload() neglects to free the memory allocated for the firmware before returning, thus leaking the memory. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
sound/usb/6fire/firmware.c