Author: ekohl
Date: Sun Aug 21 21:24:10 2016
New Revision: 72419
URL:
http://svn.reactos.org/svn/reactos?rev=72419&view=rev
Log:
[LSASRV]
Implement LsaIFree_LSAPR_TRANSLATED_SIDS.
Modified:
trunk/reactos/dll/win32/lsasrv/lsasrv.c
trunk/reactos/dll/win32/lsasrv/lsasrv.spec
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] Sun Aug 21 21:24:10 2016
@@ -216,7 +216,7 @@
VOID
NTAPI
LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR(
- PLSAPR_SR_SECURITY_DESCRIPTOR Ptr)
+ IN PLSAPR_SR_SECURITY_DESCRIPTOR Ptr)
{
if (Ptr != NULL)
{
@@ -231,7 +231,7 @@
VOID
NTAPI
LsaIFree_LSAPR_TRANSLATED_NAMES(
- PLSAPR_TRANSLATED_NAMES Ptr)
+ IN PLSAPR_TRANSLATED_NAMES Ptr)
{
ULONG i;
@@ -247,6 +247,21 @@
midl_user_free(Ptr->Names);
}
+
+ midl_user_free(Ptr);
+ }
+}
+
+
+VOID
+NTAPI
+LsaIFree_LSAPR_TRANSLATED_SIDS(
+ IN PLSAPR_TRANSLATED_SIDS Ptr)
+{
+ if (Ptr != NULL)
+ {
+ if (Ptr->Sids != NULL)
+ midl_user_free(Ptr->Sids);
midl_user_free(Ptr);
}
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] Sun Aug 21 21:24:10 2016
@@ -40,7 +40,7 @@
@ stdcall LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST(ptr)
@ stdcall LsaIFree_LSAPR_SR_SECURITY_DESCRIPTOR(ptr)
@ stdcall LsaIFree_LSAPR_TRANSLATED_NAMES(ptr)
- @ stub LsaIFree_LSAPR_TRANSLATED_SIDS
+ @ stdcall LsaIFree_LSAPR_TRANSLATED_SIDS(ptr)
@ stub LsaIFree_LSAPR_TRUSTED_DOMAIN_INFO
@ stub LsaIFree_LSAPR_TRUSTED_ENUM_BUFFER
@ stub LsaIFree_LSAPR_TRUSTED_ENUM_BUFFER_EX