aboutsummaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-04-24 13:28:07 +0000
committerGravatar brain2006-04-24 13:28:07 +0000
commit5d407fb44c759524881712a80febb86b4506ddbf (patch)
treef0f426e645518a859ad25284f478854818a92da8 /src/dnsqueue.cpp
parentForward-port of 1.0.4 tweak (diff)
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
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
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