From: Ian Abbott Date: Wed, 19 May 2010 13:10:02 +0000 (+0100) Subject: Staging: comedi: serial2002: Fix memory leak on detach X-Git-Tag: v2.6.36-rc1~520^2~1^2~510 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa3b5d9ab0487f58b45d55a37070aa0d417f59d5;p=pandora-kernel.git Staging: comedi: serial2002: Fix memory leak on detach The comedi device 'detach' method for the serial2002 driver has an off-by-one error in its loop for freeing data belonging to its subdevices. Fix it. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed