summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2002-06-29 11:13:03 +0000
committerThies C. Arntzen <thies@php.net>2002-06-29 11:13:03 +0000
commit5a0c2837005b8bb29ec8d6e91bc062131563cec4 (patch)
treea8434f084648bf5c2c0a1afb01a1abe5a8989931 /ext/standard
parent46079bc015fecfe042a0f3a5f4a70477af174e89 (diff)
downloadphp-git-5a0c2837005b8bb29ec8d6e91bc062131563cec4.tar.gz
fix leak
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/url_scanner_ex.c6
-rw-r--r--ext/standard/url_scanner_ex.re2
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c
index 9ec1458788..abfc286850 100644
--- a/ext/standard/url_scanner_ex.c
+++ b/ext/standard/url_scanner_ex.c
@@ -1,5 +1,5 @@
-/* Generated by re2c 0.5 on Wed May 8 08:08:09 2002 */
-#line 1 "/home/rasmus/php4/ext/standard/url_scanner_ex.re"
+/* Generated by re2c 0.5 on Sat Jun 29 13:09:10 2002 */
+#line 1 "/home/thies/devel/php4/ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
| PHP Version 4 |
@@ -890,7 +890,7 @@ int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len
php_url_scanner_ex_activate(TSRMLS_C);
php_start_ob_buffer(NULL, chunk_size, 1 TSRMLS_CC);
- php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, estrdup("URL-Rewriter"), 1 TSRMLS_CC);
+ php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, "URL-Rewriter", 1 TSRMLS_CC);
BG(url_adapt_state_ex).active = 1;
}
diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re
index 8d4bff7f69..f8208f87a0 100644
--- a/ext/standard/url_scanner_ex.re
+++ b/ext/standard/url_scanner_ex.re
@@ -406,7 +406,7 @@ int php_url_scanner_add_var(char *name, int name_len, char *value, int value_len
php_url_scanner_ex_activate(TSRMLS_C);
php_start_ob_buffer(NULL, chunk_size, 1 TSRMLS_CC);
- php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, estrdup("URL-Rewriter"), 1 TSRMLS_CC);
+ php_ob_set_internal_handler(php_url_scanner_output_handler, chunk_size, "URL-Rewriter", 1 TSRMLS_CC);
BG(url_adapt_state_ex).active = 1;
}