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