mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism
This commit is contained in:
@@ -32,6 +32,7 @@ Bug fixes::
|
||||
* buflist: fix slow switch of buffer when there are a lot of buffers opened (issue #998)
|
||||
* buflist: add option "bar" in command /buflist, do not automatically add the "buflist" bar when the option buflist.look.enabled is off (issue #994)
|
||||
* buflist: fix crash on drag & drop of buffers
|
||||
* irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism
|
||||
* relay: fix parsing of CAP command arguments in irc protocol (issue #995)
|
||||
|
||||
[[v1.8]]
|
||||
|
||||
@@ -294,6 +294,9 @@ irc_sasl_mechanism_ecdsa_nist256p_challenge (struct t_irc_server *server,
|
||||
free (string);
|
||||
}
|
||||
|
||||
if (string)
|
||||
free (string);
|
||||
|
||||
return answer_base64;
|
||||
|
||||
#else /* no gnutls or gnutls < 3.0.21 */
|
||||
|
||||
Reference in New Issue
Block a user