irc: fix memory leak in case of error in "ecdsa-nist256p-challenge" SASL mechanism

v2.8-utf8proc
Sébastien Helleu 2017-05-27 08:37:05 +02:00
parent b9fdcb0193
commit a603c5e476
2 changed files with 4 additions and 0 deletions

View File

@ -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]]

View File

@ -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 */