cvs: php4 /ext/standard url_scanner_ex.re

From: Date: Sun, 05 May 2002 02:07:16 +0000
Subject: cvs: php4 /ext/standard url_scanner_ex.re
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11700@lists.php.net to get a copy of this message
sas Sat May 4 22:07:16 2002 EDT Modified files: /php4/ext/standard url_scanner_ex.re Log: the output buffer is flushed during request shutdown before it reaches our rshutdown, so it is safe to delete the contents of the url rewriter variables here. Index: php4/ext/standard/url_scanner_ex.re diff -u php4/ext/standard/url_scanner_ex.re:1.54 php4/ext/standard/url_scanner_ex.re:1.55 --- php4/ext/standard/url_scanner_ex.re:1.54 Sat May 4 14:33:13 2002 +++ php4/ext/standard/url_scanner_ex.re Sat May 4 22:07:16 2002 @@ -447,9 +447,6 @@ PHP_RINIT_FUNCTION(url_scanner) { BG(url_adapt_state_ex).active = 0; - - smart_str_free(&BG(url_adapt_state_ex).form_app); - smart_str_free(&BG(url_adapt_state_ex).url_app); return SUCCESS; } @@ -460,6 +457,9 @@ php_url_scanner_ex_deactivate(TSRMLS_C); BG(url_adapt_state_ex).active = 0; } + + smart_str_free(&BG(url_adapt_state_ex).form_app); + smart_str_free(&BG(url_adapt_state_ex).url_app); return SUCCESS; }

« previous php.cvs (#11700) next »