1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: fix memory leak when checking the value of ssl_priorities option in servers

This commit is contained in:
Sebastien Helleu
2013-11-23 17:06:07 +01:00
parent 1fa4701ed0
commit 2305c95db0
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -41,6 +41,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
(bug #40628)
* irc: fix memory leak when checking the value of ssl_priorities option in
servers
* irc: fix memory leak when a channel is deleted
* irc: fix groups in channel nicklist when reconnecting to a server that
supports more nick prefixes than the previously connected server
+1
View File
@@ -978,6 +978,7 @@ irc_config_check_gnutls_priorities (const char *priorities)
return NULL;
rc = gnutls_priority_init (&priority_cache, priorities, &pos_error);
gnutls_priority_deinit (priority_cache);
if (rc == GNUTLS_E_SUCCESS)
return NULL;
if (pos_error)