mirror of
https://github.com/php/php-src.git
synced 2026-04-09 09:03:04 +02:00
Fix a huge memory leak in the ob_gzhandler.
This commit is contained in:
@@ -1032,6 +1032,7 @@ int php_deflate_string(const char *str, uint str_length, char **newstr, uint *ne
|
||||
|
||||
*new_length = buf_used + 10 + 8;
|
||||
*newstr = buffer;
|
||||
deflateEnd(&ZLIBG(stream));
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user