summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-12-11 08:32:21 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-12-11 08:32:21 +0000
commit8c1c01e58e018c7b90e6a23b28f5e5081d86211c (patch)
tree4f34dea1f4dd1df6cc6a8b1ceda786f435e8b67b /src
parent59158c48d355d86e4ec3f2e3266b018bf1210eb4 (diff)
downloadweechat-8c1c01e58e018c7b90e6a23b28f5e5081d86211c.zip
Fixed memory leak in /charset command
Diffstat (limited to 'src')
-rw-r--r--src/plugins/charset/weechat-charset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/charset/weechat-charset.c b/src/plugins/charset/weechat-charset.c
index b8c142b3b..03b68ce92 100644
--- a/src/plugins/charset/weechat-charset.c
+++ b/src/plugins/charset/weechat-charset.c
@@ -590,7 +590,9 @@ weechat_charset_cmd (t_weechat_plugin *plugin,
}
break;
}
-
+
+ if (argv)
+ plugin->free_exploded_string (plugin, argv);
if (server)
free (server);
if (channel)