commit | c4e5fadd2a6fc0da465dcde761877d9a87313b33 | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Tue May 13 16:48:50 2008 +0900 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue May 13 09:51:54 2008 -0700 |
tree | 8dc0fe170bde8997fe41a27f5b9115e4e31bcc64 | |
parent | 77db9885646f8a88214ea482988d41f8f73630f4 [diff] |
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>