mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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>
This commit is contained in:
parent
364e3a3d8a
commit
12429bf932
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user