summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-server.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-04 14:12:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-04 14:12:46 +0100
commit7cc562be45c781c085a8a4e9515ad527d327a2ef (patch)
treeb68e4722b07949b8c55d4ee4935b574aa178272e /src/plugins/irc/irc-server.c
parentaeb11f7e05ede4453552a1fac6895da6e8f6084f (diff)
downloadweechat-7cc562be45c781c085a8a4e9515ad527d327a2ef.zip
Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins)
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 05bedf583..29f61cb7f 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -652,6 +652,8 @@ irc_server_free_data (struct t_irc_server *server)
if (server->options[i])
weechat_config_option_free (server->options[i]);
}
+ if (server->name)
+ free (server->name);
if (server->addresses_array)
weechat_string_free_exploded (server->addresses_array);
if (server->ports_array)