]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: Resource leak fix for whiteheat driver
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 23 Apr 2006 17:59:23 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 27 Apr 2006 17:28:57 +0000 (10:28 -0700)
commit67ca0284f69992ad71ac12dc375f2b158d9d703d
tree4c26826c5bb23c651967dcefd8a466adb402314a
parent2be4d50295e2b6f62c07b614e1b103e280dddb84
[PATCH] USB: Resource leak fix for whiteheat driver

We may return from drivers/usb/serial/whiteheat.c::whiteheat_attach()
without freeing `result' if we leave via the no_firmware: label.

Spotted by the coverity checker as #670

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/whiteheat.c