From: Mithlesh Thukral Date: Tue, 24 Feb 2009 12:39:34 +0000 (+0530) Subject: Staging: sxg: Fix memory leak caused by double allocation of rings X-Git-Tag: v2.6.30-rc1~202^2~656 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd6966c62e6ad770a8b193d71d36beb9b82d351;p=pandora-kernel.git 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: LinSysSoft Sahara Team Signed-off-by: Mithlesh Thukral Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed