commit | 65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce | [log] [tgz] |
---|---|---|
author | Duncan Sands <duncan.sands@math.u-psud.fr> | Fri May 27 10:00:08 2005 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 27 14:43:58 2005 -0700 |
tree | 084813b21b98aed0ef97db6160663e5abff0991a | |
parent | e20d6645f794b51835e6f740a5b6f95c7e3fd843 [diff] |
[PATCH] USB ATM: avoid oops on bind failure; plug memory leak 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@free.fr> Acked-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>