From 3e884afdff9bf0105e6a5064d2400b3a1d79bc5a Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 25 Oct 2002 00:08:36 +0000 Subject: [PATCH] improved delete stub --- src/db/dbChannelIO.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/db/dbChannelIO.cpp b/src/db/dbChannelIO.cpp index af2d51e46..59393a1e6 100644 --- a/src/db/dbChannelIO.cpp +++ b/src/db/dbChannelIO.cpp @@ -128,6 +128,8 @@ void dbChannelIO::operator delete ( void *pCadaver ) // because if I declare placement new and delete, but // comment out the placement delete definition there are // no undefined symbols. + errlogPrintf ( "%s:%d this compiler is confused about placement delete - memory was probably leaked", + __FILE__, __LINE__ ); }