iwlwifi: fix memory leak in command queue handling
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 25 Sep 2009 21:24:22 +0000 (14:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Sep 2009 20:55:04 +0000 (16:55 -0400)
commit2814298639619b0aa994fe1aee55438f1e26a2a8
tree3b328b313ce9867927757a337da25e1c6883811f
parent2fac9717a05fc4b4824422d2c439c1260807c110
iwlwifi: fix memory leak in command queue handling

Also free the array of command pointers and meta data of each
command buffer when command queue is freed.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-tx.c