[SAMSRV] SamIFree_SAMPR_USER_INFO_BUFFER: Add missing breaks. CORE-17355

Addendum to fda13e (r58742).
This commit is contained in:
Serge Gautherie 2020-09-09 03:46:56 +02:00 committed by Thomas Faber
parent 3c4d6b0f9e
commit b59bad8d10
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -650,10 +650,12 @@ SamIFree_SAMPR_USER_INFO_BUFFER(PSAMPR_USER_INFO_BUFFER Ptr,
case UserScriptInformation:
if (Ptr->Script.ScriptPath.Buffer != NULL)
MIDL_user_free(Ptr->Script.ScriptPath.Buffer);
break;
case UserProfileInformation:
if (Ptr->Profile.ProfilePath.Buffer != NULL)
MIDL_user_free(Ptr->Profile.ProfilePath.Buffer);
break;
case UserAdminCommentInformation:
if (Ptr->AdminComment.AdminComment.Buffer != NULL)