From 5d407fb44c759524881712a80febb86b4506ddbf Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Apr 2006 13:28:07 +0000 Subject: delete operator tracking in debug mode (using a macro -- live with it.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dnsqueue.cpp') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 73d80d11d..fee15febd 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -247,7 +247,7 @@ void dns_poll(int fdcheck) * from the socket engine, as dns.cpp tracks it * for us if we are in single-threaded country. */ - delete x; + DELETE(x); } } else @@ -255,7 +255,7 @@ void dns_poll(int fdcheck) /* its fd is dodgy, the dns code probably * bashed it due to error. Free the class. */ - delete x; + DELETE(x); } /* If we got down here, the dns lookup was valid, BUT, * its still in progress. Be patient, and wait for -- cgit v1.3.1-10-gc9f91