diff options
| author | Elaine Houha <[email protected]> | 2022-03-31 09:11:14 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-31 09:11:14 -0700 |
| commit | a4335317df32e6e9d9dad38d8167fdc2d4d95640 (patch) | |
| tree | 8b07f809d36ba3f6c5c2cb9b99ff388f3525213d /network/trans/stmedit/sys/LwQueue.c | |
| parent | 74dfa461f428642ff93287ad5045432297954461 (diff) | |
[network\trans] ExAllocatePoolWithTag changing to ExAllocatePoolZero (#696)
* init commit more exallocatepoolwithtag to exallocatePoolZero
* CR comments
* Adds a define for downlevel support
* All flavors build Debug/Release Win32/x64, stmEdit.inf edited to fix build errors related to primative drivers
* Using recommend arch decoration
Co-authored-by: Elaine Houha <[email protected]>
Diffstat (limited to 'network/trans/stmedit/sys/LwQueue.c')
| -rw-r--r-- | network/trans/stmedit/sys/LwQueue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/trans/stmedit/sys/LwQueue.c b/network/trans/stmedit/sys/LwQueue.c index a88186c7..2d46585d 100644 --- a/network/trans/stmedit/sys/LwQueue.c +++ b/network/trans/stmedit/sys/LwQueue.c @@ -10,6 +10,7 @@ Environment: --*/ +#define POOL_ZERO_DOWN_LEVEL_SUPPORT #include "LwQueue.h" IO_WORKITEM_ROUTINE LwWorker; @@ -36,7 +37,7 @@ LwInitializeQueue( KeInitializeSpinLock(&Queue->Lock); Queue->WorkItem = - ExAllocatePoolWithTag( + ExAllocatePoolZero( NonPagedPool, IoSizeofWorkItem(), STMEDIT_TAG_LQWI); if (Queue->WorkItem == NULL) |
