diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-11-29 01:21:52 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 18:24:53 +0100 |
commit | 12429bf9327d41a0692e275bbfce4997f07432f6 (patch) | |
tree | 02c0bcb100c9e29b68d536fa3aa7ae91c61092ca /arch/um/drivers/ubd_kern.c | |
parent | uml: fix !NO_HZ busy-loop (diff) | |
download | linux-12429bf9327d41a0692e275bbfce4997f07432f6.tar.xz linux-12429bf9327d41a0692e275bbfce4997f07432f6.zip |
leak in do_ubd_request
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/ubd_kern.c')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 7e6cdde62ead..b1a77b11f089 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c @@ -1128,6 +1128,7 @@ static void do_ubd_request(struct request_queue *q) "errno = %d\n", -n); else if(list_empty(&dev->restart)) list_add(&dev->restart, &restart); + kfree(io_req); return; } |