[linux-usb-devel] [PATCH] USB ATM: avoid oops on bind failure; plug memory leak

Pete Zaitcev zaitcev at redhat.com
Fri May 27 13:34:22 EDT 2005

On Fri, 27 May 2005 10:00:08 +0200, Duncan Sands <duncan.sands at math.u-psud.fr> wrote:

> Zero the entire instance, not just the struct usbatm_data head.
> Make sure the just allocated urb is freed if we fail to allocate
> a buffer.  Based on a patch by Stanislaw W. Gruszka.
> Signed-off-by: Duncan Sands <baldrick at free.fr>

Looks good to me.

Reviewed-by: Pete Zaitcev ?

-- Pete

More information about the Usbatm mailing list