Fix cleanup in LsarRetrievePrivateData().
Modified patch by Victor Martinez Calvo.
CORE-11611 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=71952
This commit is contained in:
Eric Kohl 2016-07-16 14:57:33 +00:00
parent beec6930e7
commit 50df31709e

View file

@ -2625,11 +2625,11 @@ done:
if (EncCurrentValue != NULL)
midl_user_free(EncCurrentValue);
if (SecretObject != NULL)
LsapCloseDbObject(SecretObject);
}
if (SecretObject != NULL)
LsapCloseDbObject(SecretObject);
return Status;
}