summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-05-03 19:40:49 +0000
committerAntony Dovgal <tony2001@php.net>2006-05-03 19:40:49 +0000
commit8ab0e121d42781e2010be563a3ebe3e94ce3a07c (patch)
tree8d9461d7e1c6661673d774aee497e2c4878ebcc1 /sapi
parent2143dd541590e7c96c704f651b1c309f06fe10db (diff)
downloadphp-git-8ab0e121d42781e2010be563a3ebe3e94ce3a07c.tar.gz
plug leak
Diffstat (limited to 'sapi')
-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 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;
}