Author: ekohl
Date: Sun Mar 10 22:28:26 2013
New Revision: 58467
URL:
http://svn.reactos.org/svn/reactos?rev=58467&view=rev
Log:
[SAMSRV]
Implement SamIFree_SAMPR_PSID_ARRAY.
Modified:
trunk/reactos/dll/win32/samsrv/samsrv.c
trunk/reactos/dll/win32/samsrv/samsrv.spec
Modified: trunk/reactos/dll/win32/samsrv/samsrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] Sun Mar 10 22:28:26 2013
@@ -66,6 +66,20 @@
VOID
NTAPI
+SamIFree_SAMPR_PSID_ARRAY(PSAMPR_PSID_ARRAY Ptr)
+{
+ if (Ptr != NULL)
+ {
+ if (Ptr->Sids !=0)
+ {
+ MIDL_user_free(Ptr->Sids);
+ }
+ }
+}
+
+
+VOID
+NTAPI
SamIFree_SAMPR_RETURNED_USTRING_ARRAY(PSAMPR_RETURNED_USTRING_ARRAY Ptr)
{
ULONG i;
Modified: trunk/reactos/dll/win32/samsrv/samsrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.spec [iso-8859-1] Sun Mar 10 22:28:26 2013
@@ -24,7 +24,7 @@
@ stub SamIFree_SAMPR_GET_GROUPS_BUFFER
@ stub SamIFree_SAMPR_GET_MEMBERS_BUFFER
@ stub SamIFree_SAMPR_GROUP_INFO_BUFFER
-@ stub SamIFree_SAMPR_PSID_ARRAY
+@ stdcall SamIFree_SAMPR_PSID_ARRAY(ptr)
@ stdcall SamIFree_SAMPR_RETURNED_USTRING_ARRAY(ptr)
@ stub SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR
@ stdcall SamIFree_SAMPR_ULONG_ARRAY(ptr)