]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: wilc1000: Freed memory in case of error
authorClaudiu Beznea <claudiu.beznea@gmail.com>
Sun, 24 Apr 2016 23:07:18 +0000 (02:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:06:51 +0000 (22:06 -0700)
commit970dd0813cef59c70030e6968ce8f4e04f028653
tree91b4799af043d5e255da72302c47f3ce29833deb
parente64fe9583f7d87978e1952135446639f196344c7
Staging: wilc1000: Freed memory in case of error

This patch frees memory allocated inside wilc_wlan_txq_add_cfg_pkt()
in case wilc_wlan_txq_add_to_head() fails.

Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c