1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 07:36:38 +02:00

- Fixed minor badwords /rehash memleak.

This commit is contained in:
Bram Matthys
2003-04-24 02:13:28 +00:00
parent d202cc0868
commit 8aefa6cdce
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -2078,3 +2078,4 @@ seen. gmtime warning still there
- Enabled throttling support by default, you need to have a (correct) set::throttle block
to make it work, otherwise it's just turned off.
- Some code cleanups (s_conf.c, now has a config_setdefaultsettings()).
- Fixed minor badwords /rehash memleak.
-1
View File
@@ -4295,7 +4295,6 @@ int _conf_badword(ConfigFile *conf, ConfigEntry *ce)
} else {
char *tmpw;
ca->type = BADW_TYPE_FAST;
ircstrdup(ca->word, cep->ce_vardata);
ca->word = tmpw = MyMalloc(strlen(cep->ce_vardata) - ast_l - ast_r + 1);
/* Copy except for asterisks */
for (tmp = cep->ce_vardata; *tmp; tmp++)