- Fixed bug #53153 (memory leak with phpinfo() + output buffering + zlib compression).

This commit is contained in:
Gustavo André dos Santos Lopes 2010-11-02 03:49:49 +00:00
parent adaa31fff8
commit 743f50927c

View File

@ -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;