mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 20:41:23 -05:00
Merge pull request #1293 from ihsinme/patch-1
fix memory leak. (cherry picked from commit 628ca79e6afc7008fd615598cc6797537f2bf065)
This commit is contained in:
parent
aa7dfea534
commit
d05e65b2f9
@ -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…
x
Reference in New Issue
Block a user