[BASESRV] Misc fixes: use BaseSrvHeap and silent a DPRINT

This commit is contained in:
Pierre Schweitzer 2019-05-09 08:56:29 +02:00
parent cc13842ad4
commit e1e6cfd312
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -138,7 +138,7 @@ IsGlobalSymbolicLink(HANDLE LinkHandle,
{
if (PNameInfo != NULL)
{
RtlFreeHeap(RtlGetProcessHeap(), 0, PNameInfo);
RtlFreeHeap(BaseSrvHeap, 0, PNameInfo);
}
}
_SEH2_END;
@ -208,7 +208,7 @@ CSR_API(BaseSrvDefineDosDevice)
}
#endif
DPRINT1("BaseSrvDefineDosDevice entered, Flags:%d, DeviceName:%wZ (%d), TargetPath:%wZ (%d)\n",
DPRINT("BaseSrvDefineDosDevice entered, Flags:%d, DeviceName:%wZ (%d), TargetPath:%wZ (%d)\n",
DefineDosDeviceRequest->Flags,
&DefineDosDeviceRequest->DeviceName,
DefineDosDeviceRequest->DeviceName.Length,