https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e1e6cfd3120b64e93a5e8…
commit e1e6cfd3120b64e93a5e83b8795db24aab15bd76
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Thu May 9 08:56:29 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Thu May 9 08:57:43 2019 +0200
[BASESRV] Misc fixes: use BaseSrvHeap and silent a DPRINT
---
subsystems/win/basesrv/dosdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/subsystems/win/basesrv/dosdev.c b/subsystems/win/basesrv/dosdev.c
index f683b46f53..d13edb4ac1 100644
--- a/subsystems/win/basesrv/dosdev.c
+++ b/subsystems/win/basesrv/dosdev.c
@@ -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,