summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-05-03 19:40:58 +0000
committerAntony Dovgal <tony2001@php.net>2006-05-03 19:40:58 +0000
commit24f070186760b462d84e53759f447c82beebba7e (patch)
tree537dc72c1f03c477928d11513456a42ab082cc9e /sapi/cgi/cgi_main.c
parent43db0fce03f9dd52e382e5414800de456c946ff5 (diff)
downloadphp-git-24f070186760b462d84e53759f447c82beebba7e.tar.gz
MFH: plug leak
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 2aaae382f0..00efce21e1 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1468,6 +1468,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;
}