1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 04:43:12 +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
@@ -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++)