From: Chris Lund Date: Sat, 3 Jun 2006 20:58:19 +0000 (-0700) Subject: [PATCH] USB: free allocated memory on io_edgeport startup memory failure X-Git-Tag: v2.6.18-rc1~858^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfd5df3c0cf65bdf10a3a00baff036cb096140f6;p=pandora-kernel.git [PATCH] USB: free allocated memory on io_edgeport startup memory failure While an Edgeport is allocating individual port structures, if kmalloc returns NULL, the serial structure is freed and -ENOMEM, but the ports allocated before the failure are not freed. This patch addresses that condition. Signed-off-by: Christopher Lund Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed