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)
commit8e09b7d2dbb86eb3e9a714d6622f4da24e988029
tree1fddbc3a3ce89755a45a047bc7d06299fcb755ef
parentcbe1bc2383ad69a35e4b030c00642785b8b135e8
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