aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2008-05-13 16:48:50 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-05-13 09:51:54 -0700
commitc4e5fadd2a6fc0da465dcde761877d9a87313b33 (patch)
tree8dc0fe170bde8997fe41a27f5b9115e4e31bcc64 /include/linux/parser.h
parentx86/PCI: X86_PAT & mprotect (diff)
downloadlinux-rng-c4e5fadd2a6fc0da465dcde761877d9a87313b33.tar.xz
linux-rng-c4e5fadd2a6fc0da465dcde761877d9a87313b33.zip
ACPI/PCI: another multiple _OSC memory leak fix
The acpi_query_osc() function can be called for the ACPI object that doesn't have _OSC method. In this case, acpi_get_osc_data() would allocate a useless memory region. To avoid this, we need to check the existence of _OSC before calling acpi_get_osc_data() in acpi_query_osc(). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/parser.h')
0 files changed, 0 insertions, 0 deletions