diff options
author | Duncan Sands <[email protected]> | 2005-05-27 10:00:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2005-06-27 14:43:58 -0700 |
commit | 65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce (patch) | |
tree | 084813b21b98aed0ef97db6160663e5abff0991a /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Acked-by: Pete Zaitcev <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions