From 44a957c6079de6bf6c40d1782bcea07f9866fd58 Mon Sep 17 00:00:00 2001 From: gdong1 Date: Tue, 1 Nov 2011 09:18:30 +0000 Subject: Enhance drivers for sanity check and coding style alignment. Signed-off-by: gdong1 Reviewed-by: ydong10 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12622 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c | 1 + 1 file changed, 1 insertion(+) (limited to 'SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c') diff --git a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c index 3fe403106b..8be302e1cc 100644 --- a/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c +++ b/SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileDelete.c @@ -229,6 +229,7 @@ DeleteUser ( // // Delete the user on the credential providers by its identification policy. // + ASSERT (Info != NULL); DeleteCredentialFromProviders ((UINT8 *)(Info + 1), Info->InfoSize - sizeof (EFI_USER_INFO), User); FreePool (Info); -- cgit v1.2.3