]> jfr.im git - irc/quakenet/newserv.git/commitdiff
deref the node
authorPaul <redacted>
Sat, 21 Feb 2009 15:51:26 +0000 (15:51 +0000)
committerPaul <redacted>
Sat, 21 Feb 2009 15:51:26 +0000 (15:51 +0000)
--HG--
branch : paul

proxyscan/proxyscan.c

index 341eecf6da926e4957d3816147f8dd7a4d6386d2..8edfa1886d66bc7aa552ccd7cb53b1b21d9c7f09 100644 (file)
@@ -476,6 +476,7 @@ void startscan(patricia_node_t *node, int type, int port, int class) {
   sp->state=SSTATE_CONNECTING;
   if (sp->fd<0) {
     /* Couldn't set up the socket? */
+    derefnode(iptree,sp->node);
     freescan(sp);
     return;
   }