mac80211: memory leak in mesh_queue_preq()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 15 Nov 2011 06:33:31 +0000 (09:33 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 17 Nov 2011 20:43:57 +0000 (15:43 -0500)
commit88d5346512294fbd02fd982173c64cb9b2f0235c
treef1656211729338dff8a48146021e4ed6299bc134
parent5e2e05de55ce1dd05521c419b80241551d36b473
mac80211: memory leak in mesh_queue_preq()

We recently introduced a return here, but we need to call kfree
first.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c