From 5bc4abe006884f557d12403b240ca2f526b3b9c0 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 21 Dec 1998 17:15:00 +0000 Subject: replace missing zalloc initialization (test_zlib now runs successfully) --- Modules/zlibmodule.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v0.12