Staging: sxg: Fix memory leak caused by double allocation of rings
* The receive rings were getting allocated twice. Once at probe time and once at open time. This leaked huge amounts of memory. Fix this leak and now allocation is done only once. Signed-off-by: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录