Author: ekohl Date: Sat Jul 16 14:57:33 2016 New Revision: 71952
URL: http://svn.reactos.org/svn/reactos?rev=71952&view=rev Log: [LSASRV] Fix cleanup in LsarRetrievePrivateData(). Modified patch by Victor Martinez Calvo. CORE-11611 #resolve #comment Thanks a lot!
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c
Modified: trunk/reactos/dll/win32/lsasrv/lsarpc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsarpc.c?r... ============================================================================== --- trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/lsasrv/lsarpc.c [iso-8859-1] Sat Jul 16 14:57:33 2016 @@ -2625,10 +2625,10 @@
if (EncCurrentValue != NULL) midl_user_free(EncCurrentValue); - - if (SecretObject != NULL) - LsapCloseDbObject(SecretObject); - } + } + + if (SecretObject != NULL) + LsapCloseDbObject(SecretObject);
return Status; }