提交 1581595d 编写于 作者: V Vipin Mehta 提交者: Greg Kroah-Hartman

staging: ath6kl: Fixing a memory leak

Fix for a memory leak discovered during suspend/resume testing.
Signed-off-by: NVipin Mehta <vmehta@atheros.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 774c1fe2
......@@ -2052,6 +2052,9 @@ ar6000_stop_endpoint(struct net_device *dev, bool keepprofile, bool getdbglogs)
}
/* Done with cookies */
ar6000_cookie_cleanup(ar);
/* cleanup any allocated AMSDU buffers */
ar6000_cleanup_amsdu_rxbufs(ar);
}
/*
* We need to differentiate between the surprise and planned removal of the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册