summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.h
diff options
context:
space:
mode:
authorJesper Juhl2011-06-13 23:52:02 +0200
committerTakashi Iwai2011-06-14 07:27:26 +0200
commit37f7ec38ea5c31180461f82e895e13fdd549b595 (patch)
treeedabbd3298390da475ea280030c1cf870aac8818 /sound/pci/ctxfi/ctatc.h
parentALSA: hda - Fix beep_device compilation warnings (diff)
downloadkernel-qcow2-linux-37f7ec38ea5c31180461f82e895e13fdd549b595.tar.gz
kernel-qcow2-linux-37f7ec38ea5c31180461f82e895e13fdd549b595.tar.xz
kernel-qcow2-linux-37f7ec38ea5c31180461f82e895e13fdd549b595.zip
ALSA: 6fire: Fix double-free bug in usb6fire_fw_ezusb_upload()
We have a double-free bug in sound/usb/6fire/firmware.c::usb6fire_fw_ezusb_upload(). We already call release_firmware(fw) on line 258, so when we then do it again after usb6fire_fw_ezusb_write() returns <0, we have a double-free. Easily fixed by just removing the last call to release_firmware(). Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.h')
0 files changed, 0 insertions, 0 deletions