mirror of
https://github.com/php/php-src.git
synced 2024-12-18 22:41:20 +08:00
- Fixed bug #53153 (memory leak with phpinfo() + output buffering + zlib compression).
This commit is contained in:
parent
adaa31fff8
commit
743f50927c
@ -902,7 +902,9 @@ static inline php_output_handler_status_t php_output_handler_op(php_output_handl
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
if (context->in.data && context->in.free) {
|
||||
efree(context->in.data);
|
||||
}
|
||||
context->in.data = handler->buffer.data;
|
||||
context->in.used = handler->buffer.used;
|
||||
context->in.free = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user