forked from PsychoticNinja/irssi
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.
|
* Fail authentication with this server. They have sent too much data.
|
||||||
*/
|
*/
|
||||||
if (enc_req->len > AUTHENTICATE_MAX_SIZE) {
|
if (enc_req->len > AUTHENTICATE_MAX_SIZE) {
|
||||||
|
g_string_free(enc_req, TRUE);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user