diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2007-11-28 19:21:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 12:24:53 -0500 |
commit | 12429bf9327d41a0692e275bbfce4997f07432f6 (patch) | |
tree | 02c0bcb100c9e29b68d536fa3aa7ae91c61092ca /arch/um/drivers | |
parent | 364e3a3d8a26aae058cf1c257457ad1f6b1cfe4c (diff) |
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')
-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) | |||
1128 | "errno = %d\n", -n); | 1128 | "errno = %d\n", -n); |
1129 | else if(list_empty(&dev->restart)) | 1129 | else if(list_empty(&dev->restart)) |
1130 | list_add(&dev->restart, &restart); | 1130 | list_add(&dev->restart, &restart); |
1131 | kfree(io_req); | ||
1131 | return; | 1132 | return; |
1132 | } | 1133 | } |
1133 | 1134 | ||