]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: wilc1000: handle freeing of 'key' & 'seq' data in wilc_add_rx_gtk()
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 26 Jun 2018 06:07:11 +0000 (11:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:55:51 +0000 (21:55 +0900)
commit56b408e513baeaff715acadbe98472f94e4cdbf3
treead38852897b626e037e23a0b325e1ae810ddd106
parent5b9be6713a7ca8bf0a82778c4fdd2cdbf4434767
staging: wilc1000: handle freeing of 'key' & 'seq' data in wilc_add_rx_gtk()

Handle freeing of memory allocated to keep 'key' & 'seq' in wilc_add_rx_gtk().
Once completion event is received, free the memory allocated for
to avoid missing of free in work 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