diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-11-25 20:09:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-25 22:28:34 +0100 |
commit | 9dce447a542d8b4bedf13d6a4c4fc6737240372e (patch) | |
tree | bba4591cd3564a499481d662ed931c5be1d040c2 /arch/um/os-Linux/execvp.c | |
parent | [PATCH] lockdep: spin_lock_irqsave_nested() (diff) | |
download | linux-9dce447a542d8b4bedf13d6a4c4fc6737240372e.tar.xz linux-9dce447a542d8b4bedf13d6a4c4fc6737240372e.zip |
[PATCH] usb: ati remote memleak fix
This is a bug. When checking for ati_remote->outbuf we free freeing
ati_remote->inbuf so we end up freeing ati_remote->inbuf twice.
Also the checks for 'ati_remote->inbuf != NULL' and 'ati_remote->outbuf !=
NULL' are redundant as usb_buffer_free() does this.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/os-Linux/execvp.c')
0 files changed, 0 insertions, 0 deletions