From: Antony Dovgal Date: Wed, 3 May 2006 19:40:49 +0000 (+0000) Subject: plug leak X-Git-Tag: BEFORE_NEW_OUTPUT_API~318 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ab0e121d42781e2010be563a3ebe3e94ce3a07c;p=php plug leak --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index b01902f39a..3ca5ab6aff 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1408,6 +1408,7 @@ consult the installation file that came with this distribution, or visit \n\ if (script_file) { /* override path_translated if -f on command line */ + STR_FREE(SG(request_info).path_translated); SG(request_info).path_translated = script_file; }