1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-08 08:58:00 +00:00

Fix minor memory leak in EXT_INFO handling.

Happened to be spotted by ASan in the course of other work.
This commit is contained in:
Simon Tatham 2021-03-06 11:16:54 +00:00
parent ffa4585035
commit d7a0835622

View File

@ -1474,6 +1474,8 @@ static void ssh2_transport_process_queue(PacketProtocolLayer *ppl)
put_datapl(pktout, ptrlen_from_strbuf(extinfo));
pq_push(s->ppl.out_pq, pktout);
}
strbuf_free(extinfo);
}
}