Check the pointer before use it.

Signed-off-by:ydong10
Reviewed-by:vanjeff



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12283 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2011-09-06 07:05:06 +00:00
parent 5c4513344a
commit a3b4eb2933
1 changed files with 12 additions and 11 deletions

View File

@ -844,7 +844,7 @@ AddTableToList (
);
AcpiSupportInstance->Xsdt->OemRevision = AcpiSupportInstance->Fadt3->Header.OemRevision;
}
}
//
// Checksum the table
//
@ -856,6 +856,7 @@ AddTableToList (
Checksum)
);
}
}
break;
case EFI_ACPI_1_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_SIGNATURE: