mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
replace missing zalloc initialization (test_zlib now runs
successfully)
This commit is contained in:
parent
36252022ec
commit
5bc4abe006
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ PyZlib_compress(self, args)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
zst.zalloc=(alloc_func)NULL;
|
||||
zst.zfree=(free_func)Z_NULL;
|
||||
zst.next_out=(Byte *)output;
|
||||
zst.next_in =(Byte *)input;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue