Author: ekohl
Date: Sun Jun 23 11:20:32 2013
New Revision: 59307
URL:
http://svn.reactos.org/svn/reactos?rev=59307&view=rev
Log:
[SAMSRV]
Implement SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR.
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 Jun 23 11:20:32 2013
@@ -219,6 +219,20 @@
VOID
NTAPI
+SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR(PSAMPR_SR_SECURITY_DESCRIPTOR Ptr)
+{
+ if (Ptr != NULL)
+ {
+ if (Ptr->SecurityDescriptor != NULL)
+ MIDL_user_free(Ptr->SecurityDescriptor);
+
+ MIDL_user_free(Ptr);
+ }
+}
+
+
+VOID
+NTAPI
SamIFree_SAMPR_ULONG_ARRAY(PSAMPR_ULONG_ARRAY Ptr)
{
if (Ptr != NULL)
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 Jun 23 11:20:32 2013
@@ -26,7 +26,7 @@
@ stub SamIFree_SAMPR_GROUP_INFO_BUFFER
@ stdcall SamIFree_SAMPR_PSID_ARRAY(ptr)
@ stdcall SamIFree_SAMPR_RETURNED_USTRING_ARRAY(ptr)
-@ stub SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR
+@ stdcall SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR(ptr)
@ stdcall SamIFree_SAMPR_ULONG_ARRAY(ptr)
@ stdcall SamIFree_SAMPR_USER_INFO_BUFFER(ptr long)
@ stub SamIFree_UserInternal6Information