From: Jeremy Hylton Date: Mon, 21 Dec 1998 17:15:00 +0000 (+0000) Subject: replace missing zalloc initialization (test_zlib now runs X-Git-Tag: v1.5.2b1~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bc4abe006884f557d12403b240ca2f526b3b9c0;p=python replace missing zalloc initialization (test_zlib now runs successfully) --- diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 1845bbcde1..5afa70920a 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;