1
0
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:
Sascha Schumann
2001-02-01 16:29:07 +00:00
parent 138ab8eccf
commit a4df53ad1c

View File

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