From: Alexey Khoroshilov Date: Thu, 6 Feb 2014 00:47:13 +0000 (+0100) Subject: staging: gdm72xx: fix leaks at failure path in gdm_usb_probe() X-Git-Tag: v3.14-rc3~12^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a874e899b073496d1fe89b6a2d1aa50870874d;p=pandora-kernel.git staging: gdm72xx: fix leaks at failure path in gdm_usb_probe() Error handling code in gdm_usb_probe() misses to deallocate tx_ and rx_structs and to do usb_put_dev(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed