]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154/adf7242: fix memory leak of firmware
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 7 Apr 2016 11:16:04 +0000 (16:46 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Apr 2016 17:33:30 +0000 (19:33 +0200)
commit6444ad954d5450e3a4e72a9424356ffa0243e1ae
tree5b0130f879cdde39c43c51636804b418a249eeec
parent969d4b8014192c1936b4a124f14d0fbf378f07de
ieee802154/adf7242: fix memory leak of firmware

If the firmware upload or the firmware verification fails then we
printed the error message and exited but we missed releasing the
firmware.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/adf7242.c