]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanprofile/chanprofile.c
TRUSTS: use correct socket opt...
[irc/quakenet/newserv.git] / chanprofile / chanprofile.c
index b7316a22f463bb597e3492463f234b0242815273..a4c4a8dc03235e58c55eaeb03a26dcc0504f2e2b 100644 (file)
@@ -3,6 +3,9 @@
 #include "../channel/channel.h"
 #include "../control/control.h"
 #include "../newsearch/newsearch.h"
+#include "../lib/version.h"
+
+MODULE_VERSION("");
 
 #include <stdio.h>
 #include <string.h>
@@ -171,6 +174,8 @@ int reportprofiles(void *source, int cargc, char **cargv) {
     reportprofile(sender,cpary[i]);
   }
    
+  free(cpary);
+
   controlreply(sender,"--- End of list."); 
 
   clearprofiles();