From 60dab78e2549a164e5558b2169a900f24ac41434 Mon Sep 17 00:00:00 2001 From: Yiwen Jiang Date: Mon, 6 Apr 2020 11:05:29 -0700 Subject: Replaced ExAllocatePoolWithTag with ExAllocatePoolZero in avsstream samples --- avstream/avssamp/wave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avstream/avssamp/wave.cpp') diff --git a/avstream/avssamp/wave.cpp b/avstream/avssamp/wave.cpp index 7af2f60a..de110e69 100644 --- a/avstream/avssamp/wave.cpp +++ b/avstream/avssamp/wave.cpp @@ -319,7 +319,7 @@ Return Value: // if (NT_SUCCESS (Status)) { m_WaveData = reinterpret_cast ( - ExAllocatePoolWithTag (NonPagedPool, DataBlockSize, AVSSMP_POOLTAG) + ExAllocatePoolZero (NonPagedPool, DataBlockSize, AVSSMP_POOLTAG) ); if (!m_WaveData) { -- cgit v1.3.1