From: Marcel Holtmann Date: Mon, 6 Oct 2008 10:22:51 +0000 (+0200) Subject: [Bluetooth] Fix double frees on error paths of btusb and bpa10x drivers X-Git-Tag: v2.6.27~6^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36010ff6788a058147ae15a1aebf97fd30fa51a9;p=pandora-kernel.git [Bluetooth] Fix double frees on error paths of btusb and bpa10x drivers The transfer buffer of an URB will be automatically freed when using the URB_FREE_BUFFER transfer_flag. So the extra calls to kfree() will cause a double free. Reported-by: Justin Mattock Signed-off-by: Rabin Vincent Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed