]> jfr.im git - irc/quakenet/newserv.git/commitdiff
we should increase refcount
authorPaul <redacted>
Wed, 29 Oct 2008 21:06:01 +0000 (21:06 +0000)
committerPaul <redacted>
Wed, 29 Oct 2008 21:06:01 +0000 (21:06 +0000)
patricianick/patricianick.c

index 529164221b79e5bc688f1f243f28a03335142848..911041d90f8bb8c5f1f7d60e569154ad04a0f8a5 100644 (file)
@@ -86,6 +86,8 @@ patricianick_t *getpatricianick() {
 void addnicktonode(patricia_node_t *node, nick *np) {
   unsigned long hash;
 
+  patricia_ref_prefix(node->prefix);
+
   if (!(node->exts[pnode_ext])) {
     node->exts[pnode_ext] = getpatricianick();
   }