cvs: php4 /sapi/cgi cgi_main.c

From: Date: Mon, 26 Jun 2000 12:26:40 +0000
Subject: cvs: php4 /sapi/cgi cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-472@lists.php.net to get a copy of this message
stas Mon Jun 26 05:26:40 2000 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: If we freed it, we might not touch it # BTW, this is not a real fix - we still might use it # when reporting memory leaks, but at least we won't reference # unitialized memory Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.53 php4/sapi/cgi/cgi_main.c:1.54 --- php4/sapi/cgi/cgi_main.c:1.53 Thu Jun 15 15:46:17 2000 +++ php4/sapi/cgi/cgi_main.c Mon Jun 26 05:26:40 2000 @@ -678,7 +678,8 @@ php_header(); /* Make sure headers have been sent */ STR_FREE(SG(request_info).path_translated); - + SG(request_info).path_translated = NULL; + php_request_shutdown((void *) 0); php_module_shutdown(); #ifdef ZTS

« previous php.cvs (#472) next »