1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

relay: fix memory leak on unload of relay plugin

This commit is contained in:
Sebastien Helleu
2014-01-09 15:34:30 +01:00
parent 1c3c7b01db
commit 4a6bdc1c9c
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -96,6 +96,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
message (task #12777)
* lua: fix crash on calls to callbacks during load of script
* python: fix load of scripts with python >= 3.3
* relay: fix memory leak on unload of relay plugin
* ruby: fix ruby init with ruby >= 2.0 (bug #41115)
* xfer: add support of IPv6 for DCC chat/file (patch #7992)
* xfer: use same infolist for hook and signals (patch #7974)
+7
View File
@@ -760,6 +760,13 @@ relay_config_free ()
relay_config_regex_allowed_ips = NULL;
}
if (relay_config_regex_websocket_allowed_origins)
{
regfree (relay_config_regex_websocket_allowed_origins);
free (relay_config_regex_websocket_allowed_origins);
relay_config_regex_websocket_allowed_origins = NULL;
}
if (relay_config_hashtable_irc_backlog_tags)
{
weechat_hashtable_free (relay_config_hashtable_irc_backlog_tags);