https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b59bad8d105e0f8a309bb…
commit b59bad8d105e0f8a309bb27d41d39901165e0cd7
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Wed Sep 9 03:46:56 2020 +0200
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Nov 14 15:23:41 2020 +0100
[SAMSRV] SamIFree_SAMPR_USER_INFO_BUFFER: Add missing breaks. CORE-17355
Addendum to fda13e (r58742).
---
dll/win32/samsrv/samsrv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dll/win32/samsrv/samsrv.c b/dll/win32/samsrv/samsrv.c
index a9664117a19..7efaabe6e7f 100644
--- a/dll/win32/samsrv/samsrv.c
+++ b/dll/win32/samsrv/samsrv.c
@@ -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)