Skip to content
Snippets Groups Projects
Commit d7760d63 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Al Viro
Browse files

iov_iter: fix memory leak in pipe_get_pages_alloc()


Make n signed to avoid leaking the pages array if __pipe_get_pages()
fails to allocate any pages.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e76b6312
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment