diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 1998-12-21 17:15:00 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 1998-12-21 17:15:00 (GMT) |
commit | 5bc4abe006884f557d12403b240ca2f526b3b9c0 (patch) | |
tree | f0b9359670f9192284bf579d3644802a3fa7451d /Modules/zlibmodule.c | |
parent | 36252022ec5c007e0ba0aa7f753997b759a8ea96 (diff) | |
download | cpython-5bc4abe006884f557d12403b240ca2f526b3b9c0.zip cpython-5bc4abe006884f557d12403b240ca2f526b3b9c0.tar.gz cpython-5bc4abe006884f557d12403b240ca2f526b3b9c0.tar.bz2 |
replace missing zalloc initialization (test_zlib now runs
successfully)
Diffstat (limited to 'Modules/zlibmodule.c')
-rw-r--r-- | Modules/zlibmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 1845bbc..5afa709 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -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; |