From 1c4f9748d7f78800c2f1e3b645f514126fd5d707 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 30 Oct 2016 11:45:56 +0000 Subject: [PATCH] free server_p->certfp, allocated in newconf.c ==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 | 1 + 1 file changed, 1 insertion(+) diff --git a/ircd/s_newconf.c b/ircd/s_newconf.c index b4c3d419..c593635a 100644 --- a/ircd/s_newconf.c +++ b/ircd/s_newconf.c @@ -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); }