diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-09-12 01:22:43 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 02:58:03 +0400 |
commit | 1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828 (patch) | |
tree | 5eb1a6053fe7999323ed7238e6cb4993652b05c5 /mm/Kconfig.debug | |
parent | 762216ab4e175f49d17bc7ad778c57b9028184e6 (diff) | |
download | linux-1ecfd533f4c528b0b4cc5bc115c4c47f0b5e4828.tar.xz |
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 <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions