]> jfr.im git - irc/quakenet/newserv.git/commitdiff
NEWSEARCH: I missed moving the free for the previous host fix.
authorChris Porter <redacted>
Tue, 20 Jan 2009 20:57:25 +0000 (20:57 +0000)
committerChris Porter <redacted>
Tue, 20 Jan 2009 20:57:25 +0000 (20:57 +0000)
newsearch/ns-host.c

index 190745a39425a8b2d4f701103eba819c51a0d8f7..ab919d840f016c012ab75a57565f5f17394e6dfc 100644 (file)
@@ -42,9 +42,9 @@ struct searchNode *host_parse(searchCtx *ctx, int argc, char **argv) {
     /* Allow "host real" to match realhost */
     if (!ircd_strcmp(p,"real"))
       thenode->exe = host_exe_real;
-  }
 
-  argsn->free(ctx, argsn);
+    argsn->free(ctx, argsn);
+  }
 
   return thenode;
 }