diff options
author | Duncan Sands <duncan.sands@math.u-psud.fr> | 2005-05-27 10:00:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-27 23:43:58 +0200 |
commit | 65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce (patch) | |
tree | 084813b21b98aed0ef97db6160663e5abff0991a /drivers/mtd | |
parent | [PATCH] USB ATM: reduce log spamming (diff) | |
download | linux-65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce.tar.xz linux-65412e48e21ff4fdaf2aea1565ef4fb3ef5262ce.zip |
[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>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions