mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +00:00
[NTOSKRNL]
- Do not access an object after destruction. - Remove the remaining mentions of a function which Sir Richard defeated a year ago. svn path=/trunk/; revision=53978
This commit is contained in:
parent
a1a833ca63
commit
05579fb1cd
2 changed files with 2 additions and 10 deletions
|
@ -14,8 +14,6 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID MmPrintMemoryStatistic(VOID);
|
||||
|
||||
FAST_MUTEX ExpEnvironmentLock;
|
||||
ERESOURCE ExpFirmwareTableResource;
|
||||
LIST_ENTRY ExpFirmwareTableProviderListHead;
|
||||
|
@ -1298,10 +1296,6 @@ QSI_DEF(SystemFullMemoryInformation)
|
|||
MiFreeSwapPages,
|
||||
MiUsedSwapPages);
|
||||
|
||||
#ifndef NDEBUG
|
||||
MmPrintMemoryStatistic();
|
||||
#endif
|
||||
|
||||
*Spi = MiMemoryConsumers[MC_USER].PagesUsed;
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
|
|
@ -753,12 +753,10 @@ ObpCloseHandleTableEntry(IN PHANDLE_TABLE HandleTable,
|
|||
|
||||
/* Return to caller */
|
||||
OBTRACE(OB_HANDLE_DEBUG,
|
||||
"%s - Closed handle: %lx for %p. HC PC %lx %lx\n",
|
||||
"%s - Closed handle: %lx for %p.\n",
|
||||
__FUNCTION__,
|
||||
Handle,
|
||||
Body,
|
||||
ObjectHeader->HandleCount,
|
||||
ObjectHeader->PointerCount);
|
||||
Body);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue