summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/sysvad/EndpointsCommon/NewDelete.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/audio/sysvad/EndpointsCommon/NewDelete.cpp b/audio/sysvad/EndpointsCommon/NewDelete.cpp
index 584d28e8..406b4245 100644
--- a/audio/sysvad/EndpointsCommon/NewDelete.cpp
+++ b/audio/sysvad/EndpointsCommon/NewDelete.cpp
@@ -124,16 +124,19 @@ void __cdecl operator delete
*****************************************************************************
* Basic Delete function.
*/
-void __cdecl operator delete
-(
- PVOID pVoid
-)
-{
- if (pVoid)
- {
- ExFreePoolWithTag(pVoid, SYSVAD_POOLTAG);
- }
-}
+/* Commented out as "void __cdecl operator delete(void *) is already defined
+ * in stdunk.lib
+ */
+// void __cdecl operator delete
+// (
+// PVOID pVoid
+// )
+// {
+// if (pVoid)
+// {
+// ExFreePoolWithTag(pVoid, SYSVAD_POOLTAG);
+// }
+// }
/*****************************************************************************
@@ -172,3 +175,4 @@ void __cdecl operator delete[]
}
}
+#endif _NEW_DELETE_OPERATORS_