summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 1ea437e67f..003c7907bc 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -682,7 +682,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
if (SG(request_info).path_translated) {
- zend_persist(SG(request_info).path_translated);
+ persist_alloc(SG(request_info).path_translated);
}
php_request_shutdown((void *) 0);