/* Free memory allocated for the string elements in the string table. */
EFI_STATUS EFIAPI StringTableFree(IN STRING_TABLE *CONST StrTable)
/* Free memory allocated for the string elements in the string table. */
EFI_STATUS EFIAPI StringTableFree(IN STRING_TABLE *CONST StrTable)
{
  if ((StrTable == NULL) || (StrTable->Elements == NULL)) {
    return EFI_INVALID_PARAMETER;
  }
  FreePool (StrTable->Elements);
  ZeroMem (StrTable, sizeof (STRING_TABLE));
  return EFI_SUCCESS;
}