Use pid_t more consistently. Should shut up a warning from GCC 4.6, and may
[u/mdw/putty] / unix / uxproxy.c
index ddc5580..792bbdc 100644 (file)
@@ -286,6 +286,8 @@ Socket platform_new_connection(SockAddr addr, char *hostname,
        _exit(255);
     }
 
+    sfree(cmd);
+
     close(to_cmd_pipe[0]);
     close(from_cmd_pipe[1]);