0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-18 17:50:16 +01:00
construct/include
Keith Buck dceac3e4fb conf parsing: Fix memory leaks and clean up code a bit.
Charybdis currently leaks about 45-50k per configuration parse,
including every rehash. This change plugs these leaks by properly
iterating through all conf_parm_t structures to seek all strings that
should be freed and also by freeing the conf_parm_t structures
themselves.

These leaks have been present since the original rewrite of the
configuration parsing system in ircd-ratbox r11953.

Additionally, this change also cleans up and documents the parsing code
a bit.
2014-02-28 17:35:51 +00:00
..
inline
.indent.pro
bandbi.h
blacklist.h Add support for multiple forms of blacklist queries using matches. 2013-04-20 20:49:11 -05:00
cache.h cache: use rb_strdup() instead of a static buffer for cache lines. 2013-01-15 16:24:33 -06:00
capability.h server: Make sure CAP_CAP and CAP_TS6 are non-zero. 2012-12-18 17:03:59 +01:00
channel.h
chmode.h
class.h
client.h whowas: Use the normal rules for IP visibility. 2013-09-14 12:26:32 +02:00
common.h
config.h
config.h.dist
defaults.h Remove duplicate default-value code. 2013-10-29 09:32:28 +00:00
hash.h
hook.h Implement kill-cancelling hook. 2013-04-20 01:07:55 -05:00
hostmask.h
ipv4_from_ipv6.h
irc_dictionary.h
ircd.h
ircd_defs.h Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
ircd_getopt.h
ircd_linker.h
ircd_signal.h
listener.h
logger.h
m_info.h
match.h
messages.h Fix various printf arg types. 2014-02-23 23:01:59 +01:00
modules.h Simplify module path list, removing strcpy use. 2014-02-23 23:47:27 +01:00
monitor.h
msg.h
newconf.h conf parsing: Fix memory leaks and clean up code a bit. 2014-02-28 17:35:51 +00:00
numeric.h Mostly enable support for checking format strings with -Wformat. 2013-02-21 05:46:04 -06:00
operhash.h
packet.h
parse.h
patchlevel.h
privilege.h
ratelimit.h
reject.h
res.h
reslib.h
restart.h
s_assert.h Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
s_auth.h
s_conf.h
s_newconf.h
s_serv.h
s_stats.h
s_user.h
scache.h
send.h
setup.h.in autotools: fix typo relating to ban db 2014-01-31 11:03:54 -05:00
snomask.h
sslproc.h
stdinc.h
substitution.h
supported.h
tgchange.h Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
whowas.h whowas: Use the normal rules for IP visibility. 2013-09-14 12:26:32 +02:00