fixes memory leaks in request_stat_path and send_cgi

fixes cgi fd leak

(0) -100 -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial