mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Merge pull request #1293 from ihsinme/patch-1
fix memory leak.
(cherry picked from commit 628ca79e6a)
This commit is contained in:
parent
aa7dfea534
commit
d05e65b2f9
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ static gboolean sasl_reassemble_incoming(IRC_SERVER_REC *server, const char *fra
|
|||
* Fail authentication with this server. They have sent too much data.
|
||||
*/
|
||||
if (enc_req->len > AUTHENTICATE_MAX_SIZE) {
|
||||
g_string_free(enc_req, TRUE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue