From ccd9e858f3813cb6e601be9b92ddb371aca7dda7 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) --- src/s_newconf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/s_newconf.c b/src/s_newconf.c index ae250fc3..9a6843f1 100644 --- a/src/s_newconf.c +++ b/src/s_newconf.c @@ -351,6 +351,7 @@ free_server_conf(struct server_conf *server_p) rb_free(server_p->name); rb_free(server_p->host); rb_free(server_p->class_name); + rb_free(server_p->certfp); rb_free(server_p); }