]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: Fix potential memory leaks on error paths
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 28 Nov 2014 01:47:19 +0000 (02:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:20 +0000 (15:57 -0500)
commit83eaedd297bea08e9a58a9591eddc537641ce4bd
tree1fddbc3a3ce89755a45a047bc7d06299fcb755ef
parent2e6ad520ca6fd914e103dd3ce9ff421e2219d8a5
wil6210: Fix potential memory leaks on error paths

Fix missing memory deallocation on error paths in wil_write_file_wmi()
and wil_write_file_txmgmt().

Reported-by: Ahmed Tamrawi <ahmedtamrawi@gmail.com>
Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/debugfs.c