]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: free allocated memory in edit and add station functions
authorAjay Singh <ajay.kathat@microchip.com>
Mon, 26 Mar 2018 11:45:57 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:38:46 +0000 (13:38 +0200)
commitbd6c5a7b38e3f53071c316b09bf7220995cf029c
tree09cc919a04c0b9ed750701823a06aa18697116f1
parentf8c5e4f4af1bc7d53e1e227d0f83793530d49f5c
staging: wilc1000: free allocated memory in edit and add station functions

Added fix to free the allocated memory in case of failure to enqueue
the command.

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