]> Git Repo - linux.git/commit
mm/mremap.c: call pud_free() after fail calling pmd_alloc()
authorChen Gang <[email protected]>
Wed, 11 Sep 2013 21:22:43 +0000 (14:22 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Sep 2013 22:58:03 +0000 (15:58 -0700)
commit1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828
tree5eb1a6053fe7999323ed7238e6cb4993652b05c5
parent762216ab4e175f49d17bc7ad778c57b9028184e6
mm/mremap.c: call pud_free() after fail calling pmd_alloc()

In alloc_new_pmd(), if pud_alloc() was called successfully, but
pmd_alloc() fails, avoid leaking `pud'.

Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/mremap.c
This page took 0.053431 seconds and 4 git commands to generate.