commit 5a3fcf5c7f035de8e2b28d144d67b7bebac8a723
tree 8be4fb6cb28dc58930edbbc5a50fb6420eb3ca7b
parent 0029908ba9661ef26f7020309966aae23c2027b8
author Mariusz Kozlowski <[EMAIL PROTECTED]> 1162855911 +0100
committer Greg Kroah-Hartman <[EMAIL PROTECTED]> 1163715972 -0800

USB: auerswald possible memleak fix

fix possible memory leak in auerbuf_setup().


        Mariusz Kozlowski

Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Wolfgang Muees <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

 drivers/usb/misc/auerswald.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c
index 0be9d62..e4971d6 100644
--- a/drivers/usb/misc/auerswald.c
+++ b/drivers/usb/misc/auerswald.c
@@ -780,7 +780,7 @@ static int auerbuf_setup (pauerbufctl_t
 bl_fail:/* not enough memory. Free allocated elements */
         dbg ("auerbuf_setup: no more memory");
-       kfree(bep);
+       auerbuf_free(bep);
         auerbuf_free_buffers (bcp);
         return -ENOMEM;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to