diff options
author | Jeff Dike <[email protected]> | 2008-02-08 04:22:11 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-02-08 09:22:43 -0800 |
commit | ac2a659968f5318a180213f0409c2ea21f072820 (patch) | |
tree | 2bebff50071f9f9fef802d2434de951e9c235332 /fs/jbd/commit.c | |
parent | 5aaf5f7b871abf00fb2525e7ed2d5938a74ce23c (diff) |
uml: fix mm_context memory leak
[ Spotted by Miklos ]
Fix a memory leak in init_new_context. The struct page ** buffer allocated
for install_special_mapping was never recorded, and thus leaked when the
mm_struct was freed. Fix it by saving the pointer in mm_context_t and freeing
it in arch_exit_mmap.
Signed-off-by: Jeff Dike <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions