mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Fix a memory leak in uxproxy.c.
We set up a pair of bufchains for the standard input and output exchanged with the proxy process, but forgot to clear them when the Local_Proxy_Socket is cleaned up.
This commit is contained in:
parent
37cdfdcd51
commit
bb66e9870e
@ -104,6 +104,8 @@ static void sk_localproxy_close (Socket s)
|
||||
uxsel_del(ps->from_cmd);
|
||||
close(ps->from_cmd);
|
||||
|
||||
bufchain_clear(&ps->pending_input_data);
|
||||
bufchain_clear(&ps->pending_output_data);
|
||||
sfree(ps);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user