Jesper Juhl 986e3f6e2b USB NET KL5KUSB101: Fix mem leak in error path of kaweth_download_firmware()
We will leak the storage allocated by request_firmware() if the size of
the firmware is greater than KAWETH_FIRMWARE_BUF_SIZE.
This removes the leak by calling release_firmware() before we return
-ENOSPC.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-24 23:20:24 -08:00
..
2010-09-13 20:02:53 -07:00
2010-12-21 02:16:09 -08:00
2010-11-09 09:22:31 -08:00
2010-12-06 12:59:03 -08:00
2010-12-06 12:59:03 -08:00
2010-06-03 03:18:23 -07:00