1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Corey Stup points out a memory leak in the local-proxy implementations.

[originally from svn r8626]
This commit is contained in:
Jacob Nevins
2009-08-21 21:16:22 +00:00
parent eadb18418d
commit 7b8c6957d5
2 changed files with 4 additions and 0 deletions

View File

@ -199,6 +199,8 @@ Socket platform_new_connection(SockAddr addr, char *hostname,
CREATE_NO_WINDOW | NORMAL_PRIORITY_CLASS,
NULL, NULL, &si, &pi);
sfree(cmd);
CloseHandle(cmd_from_us);
CloseHandle(cmd_to_us);