ALSA: 6fire: Don't leak firmware in error path
authorJesper Juhl <jj@chaosbits.net>
Mon, 30 May 2011 10:49:01 +0000 (12:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 2 Jun 2011 17:56:31 +0000 (19:56 +0200)
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>

No differences found