mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
[SAMSRV]
Remove unused code. svn path=/trunk/; revision=59320
This commit is contained in:
parent
2f42f9205b
commit
921fca76fc
|
@ -356,7 +356,6 @@ SampValidateDbObject(SAMPR_HANDLE Handle,
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
SampCloseDbObject(PSAM_DB_OBJECT DbObject)
|
SampCloseDbObject(PSAM_DB_OBJECT DbObject)
|
||||||
{
|
{
|
||||||
PSAM_DB_OBJECT ParentObject = NULL;
|
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
|
||||||
DbObject->RefCount--;
|
DbObject->RefCount--;
|
||||||
|
@ -370,9 +369,6 @@ SampCloseDbObject(PSAM_DB_OBJECT DbObject)
|
||||||
if (DbObject->MembersKeyHandle != NULL)
|
if (DbObject->MembersKeyHandle != NULL)
|
||||||
SampRegCloseKey(DbObject->MembersKeyHandle);
|
SampRegCloseKey(DbObject->MembersKeyHandle);
|
||||||
|
|
||||||
if (DbObject->ParentObject != NULL)
|
|
||||||
ParentObject = DbObject->ParentObject;
|
|
||||||
|
|
||||||
if (DbObject->Name != NULL)
|
if (DbObject->Name != NULL)
|
||||||
RtlFreeHeap(RtlGetProcessHeap(), 0, DbObject->Name);
|
RtlFreeHeap(RtlGetProcessHeap(), 0, DbObject->Name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue