staging: rtl8192e: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 15 Sep 2015 11:52:28 +0000 (17:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:47:05 +0000 (06:47 -0700)
commit60eeb4102e9bccb07d4a0d4e79864c8058461847
tree79abe56b1ddd499ce44a2223fdf1dd68dcaa6719
parent7d05652c5ce812b4d1addd1a2733d20c912d528d
staging: rtl8192e: fix memory leak

If the size of the firmware is not as expected then we are jumping to the
error path but we missed releasing the firmware.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c