summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 3b6bd2103..c0f516e74 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -264,6 +264,7 @@ void dns_poll(int fdcheck)
* just to be safe so we dont get any more events
* about it.
*/
- SE->DelFd(fdcheck);
+ if (SE)
+ SE->DelFd(fdcheck);
}