[STDUNK][PORTCLS][CMIDriver] Fix issue with operator new/delete
[reactos.git] / drivers / wdm / audio / backpln / portcls / pin_wavecyclic.cpp
index c9f86c3..993ea92 100644 (file)
@@ -18,6 +18,16 @@ class CPortPinWaveCyclic : public IPortPinWaveCyclic,
                            public IServiceSink
 {
 public:
+    inline
+    PVOID
+    operator new(
+        size_t Size,
+        POOL_TYPE PoolType,
+        ULONG Tag)
+    {
+        return ExAllocatePoolWithTag(PoolType, Size, Tag);
+    }
+
     STDMETHODIMP QueryInterface( REFIID InterfaceId, PVOID* Interface);
 
     STDMETHODIMP_(ULONG) AddRef()