staging: wilc1000: free allocated memory in wilc_add_rx_gtk()
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 26 Mar 2018 11:46:01 +0000 (17:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:38:47 +0000 (13:38 +0200)
commit3b5f10dbea184d2201207e78eb548c267c0474e2
tree9fc6d60464acf54cc5c6531e324f5c8e5c6a2d4d
parent2dc916f48ca300d0d6f6468b8cfe78d29c4f8423
staging: wilc1000: free allocated memory in wilc_add_rx_gtk()

Free memory allocated in wilc_add_rx_gtk() before returing from the
function.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c