loader/gpt.c
VOID ClearGptData(GPT_DATA *Data) {
   if (Data) {
      if (Data->ProtectiveMBR)
         MyFreePool(Data->ProtectiveMBR);
      if (Data->Header)
         MyFreePool(Data->Header);
      if (Data->Entries)
         MyFreePool(Data->Entries);
      MyFreePool(Data);
   } // if
}
// Unallocate a single GPT_DATA structure. This does NOT follow the
// linked list, though.
Unallocate a single GPT_DATA structure. This does NOT follow the
linked list, though.
Unallocate a single GPT_DATA structure . This does NOT follow the linked list though .
VOID ClearGptData(GPT_DATA *Data) {
   if (Data) {
      if (Data->ProtectiveMBR)
         MyFreePool(Data->ProtectiveMBR);
      if (Data->Header)
         MyFreePool(Data->Header);
      if (Data->Entries)
         MyFreePool(Data->Entries);
      MyFreePool(Data);
   } 
}
VOID ClearGptData ( GPT_DATA * Data ) { if ( Data ) { if ( Data -> ProtectiveMBR ) MyFreePool ( Data -> ProtectiveMBR ) ; if ( Data -> Header ) MyFreePool ( Data -> Header ) ; if ( Data -> Entries ) MyFreePool ( Data -> Entries ) ; MyFreePool ( Data ) ; } }
Unallocate a single GPT_DATA structure.
Unallocate a single GPT_DATA structure .
// if