]> jfr.im git - irc/charybdis-ircd/charybdis.git/commitdiff
free server_p->certfp, allocated in newconf.c
authorSimon Arlott <sa.me.uk>
Sun, 30 Oct 2016 11:45:56 +0000 (11:45 +0000)
committerSimon Arlott <sa.me.uk>
Sun, 30 Oct 2016 11:45:56 +0000 (11:45 +0000)
==01:17:20:36.920 5966== 429 bytes in 3 blocks are possibly lost in loss record 899 of 1,020
==01:17:20:36.920 5966==    at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==01:17:20:36.920 5966==    by 0x4E73867: rb_strdup (rb_memory.h:70)
==01:17:20:36.920 5966==    by 0x4E7674C: conf_set_connect_fingerprint (newconf.c:1421)
==01:17:20:36.920 5966==    by 0x4E78D55: conf_call_set (newconf.c:2562)
==01:17:20:36.920 5966==    by 0x4E6A33D: yyparse (ircd_parser.y:215)
==01:17:20:36.920 5966==    by 0x4E7FFC7: read_conf (s_conf.c:834)
==01:17:20:36.920 5966==    by 0x4E81718: read_conf_files (s_conf.c:1419)
==01:17:20:36.920 5966==    by 0x4E69567: charybdis_main (ircd.c:775)
==01:17:20:36.920 5966==    by 0x400815: main (main.c:8)

ircd/s_newconf.c

index b4c3d419ed061cf9a73bddc1866a48c665ebe92e..c593635a1e76a0ec3e78269f8363ec6956a74486 100644 (file)
@@ -367,6 +367,7 @@ free_server_conf(struct server_conf *server_p)
        rb_free(server_p->connect_host);
        rb_free(server_p->bind_host);
        rb_free(server_p->class_name);
+       rb_free(server_p->certfp);
        rb_free(server_p);
 }