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)
This commit is contained in:
Simon Arlott 2016-10-30 11:45:56 +00:00
parent c8641a273f
commit 1c4f9748d7
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -367,6 +367,7 @@ free_server_conf(struct server_conf *server_p)
rb_free(server_p->connect_host); rb_free(server_p->connect_host);
rb_free(server_p->bind_host); rb_free(server_p->bind_host);
rb_free(server_p->class_name); rb_free(server_p->class_name);
rb_free(server_p->certfp);
rb_free(server_p); rb_free(server_p);
} }