aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/winproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/plink/winproxy.c')
-rw-r--r--tools/plink/winproxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/plink/winproxy.c b/tools/plink/winproxy.c
index 45998e400..4da4d2e01 100644
--- a/tools/plink/winproxy.c
+++ b/tools/plink/winproxy.c
@@ -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);