Pay attention to the width and height provided in WM_SIZE even when
[u/mdw/putty] / windows / winproxy.c
index bec0084..877dc5e 100644 (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);