summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index 28ceac689..53224ba86 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -147,7 +147,7 @@ class RequestTimeout : public Timer
ServerInstance->Res->Classes[watchid] = NULL;
}
ServerInstance->Res->requests[watchid] = NULL;
- DELETE(watch);
+ delete watch;
return;
}
}