summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 6355dbd4e..7dfe544cd 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -899,6 +899,13 @@ irc_config_server_create_default_options (struct t_config_section *section)
NULL,
NULL);
}
+
+ if (nicks)
+ free (nicks);
+ if (username)
+ free (username);
+ if (realname)
+ free (realname);
}
/*