mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Tiny patch for zlib 1.1.2
This commit is contained in:
parent
e26132cf5e
commit
115f517f77
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ PyZlib_decompress(self, args)
|
|||
{
|
||||
case(Z_STREAM_END):
|
||||
break;
|
||||
case(Z_BUF_ERROR):
|
||||
case(Z_OK):
|
||||
/* need more memory */
|
||||
if (_PyString_Resize(&result_str, r_strlen << 1) == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue