diff options
author | Jani Taskinen <jani@php.net> | 2010-12-03 13:20:13 +0000 |
---|---|---|
committer | Jani Taskinen <jani@php.net> | 2010-12-03 13:20:13 +0000 |
commit | c8e40e49d73f637b64acee58a29934df2b466c39 (patch) | |
tree | 6d267371ca74852b5efc9b56105ca6355b4b2d99 /main | |
parent | 63d87a0adbb536fb5da7f749932618e5dbb535b1 (diff) | |
download | php-git-c8e40e49d73f637b64acee58a29934df2b466c39.tar.gz |
- Fix leaks and crash bug when passing the callback as variable
Diffstat (limited to 'main')
-rw-r--r-- | main/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/output.c b/main/output.c index bee6ef8aa8..75044f5e9b 100644 --- a/main/output.c +++ b/main/output.c @@ -745,7 +745,7 @@ PHP_FUNCTION(ob_start) long chunk_size=0; zend_bool erase=1; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|zlb", &output_handler, &chunk_size, &erase) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z/lb", &output_handler, &chunk_size, &erase) == FAILURE) { return; } |