]> jfr.im git - irc/quakenet/newserv.git/blobdiff - patricia/patricialib.c
Add a variant of WALK trie to use when clearing nodes from the trie
[irc/quakenet/newserv.git] / patricia / patricialib.c
index 460685c10440a2e74fe8359442df026a2e7cf679..738929a0c601e294e4aa84a0b285d7105cffae06 100644 (file)
@@ -90,8 +90,8 @@ patricia_deref_prefix (prefix_t * prefix)
 
     prefix->ref_count--;
     if (prefix->ref_count <= 0) {
-       freeprefix(prefix);
-       return;
+      freeprefix(prefix);
+      return;
     }
 }