summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2010-04-05 12:13:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-04-05 09:15:51 -0700
commit4946d54cb55e86a156216fcfeed5568514b0830f (patch)
treea27a670f2cbe7d689588af24c6c9cda82690c7c2 /drivers/acpi/button.c
parentdb217dece3003df0841bacf9556b5c06aa097dae (diff)
rmap: fix anon_vma_fork() memory leak
Fix a memory leak in anon_vma_fork(), where we fail to tear down the anon_vmas attached to the new VMA in case setting up the new anon_vma fails. This bug also has the potential to leave behind anon_vma_chain structs with pointers to invalid memory. Reported-by: Minchan Kim <minchan.kim@gmail.com> Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/acpi/button.c')
0 files changed, 0 insertions, 0 deletions