Author: cgutman
Date: Mon Aug 15 07:35:04 2011
New Revision: 53258
URL:
http://svn.reactos.org/svn/reactos?rev=53258&view=rev
Log:
[ACPI]
- Fix a NULL free bug
Modified:
trunk/reactos/drivers/bus/acpi/busmgr/utils.c
Modified: trunk/reactos/drivers/bus/acpi/busmgr/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/busmgr/ut…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/busmgr/utils.c [iso-8859-1] Mon Aug 15 07:35:04 2011
@@ -368,7 +368,8 @@
//ExFreePool(list->handles);
}
- AcpiOsFree(buffer.Pointer);
+ if (buffer.Pointer)
+ AcpiOsFree(buffer.Pointer);
return_ACPI_STATUS(status);
}