]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c
Enhance drivers for sanity check and coding style alignment.
[mirror_edk2.git] / SecurityPkg / UserIdentification / UserProfileManagerDxe / UserProfileDelete.c
index 3fe403106bc7f0ef460f53889592239fbf8f44f5..8be302e1ccb4fff3052e680e65c295a9a0869068 100644 (file)
@@ -229,6 +229,7 @@ DeleteUser (
     //\r
     // Delete the user on the credential providers by its identification policy.\r
     //\r
+    ASSERT (Info != NULL);\r
     DeleteCredentialFromProviders ((UINT8 *)(Info + 1), Info->InfoSize - sizeof (EFI_USER_INFO), User);\r
     FreePool (Info);\r
     \r