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:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user