commit | d7760d638b140d53c6390a2fbee9b06460b43e9e | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed May 02 20:16:57 2018 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed May 02 15:43:19 2018 -0400 |
tree | f269e6fc2b544ad0e181211663f35811f2e4c2a6 | |
parent | e76b6312391bdd62e31dc86cb65e478b07b7909e [diff] |
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: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>