]> granicus.if.org Git - python/commitdiff
replace missing zalloc initialization (test_zlib now runs
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 21 Dec 1998 17:15:00 +0000 (17:15 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 21 Dec 1998 17:15:00 +0000 (17:15 +0000)
successfully)

Modules/zlibmodule.c

index 1845bbcde16f3b003597ff9285324a88cbfcf124..5afa70920a96ef69f0cbba5f1805a67f75c99d02 100644 (file)
@@ -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;