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:
parent
ffa4585035
commit
d7a0835622
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user