From 7972bd79b953105886c3b43ce1042452b67156c6 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 7 May 2012 22:57:07 +0900 Subject: [PATCH] Initialized opaque with Z_NULL --- lib/spdylay_zlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/spdylay_zlib.c b/lib/spdylay_zlib.c index 63b5b553..1b8b1c32 100644 --- a/lib/spdylay_zlib.c +++ b/lib/spdylay_zlib.c @@ -273,6 +273,7 @@ int spdylay_zlib_inflate_hd_init(spdylay_zlib *inflater, uint16_t version) inflater->zst.avail_in = 0; inflater->zst.zalloc = Z_NULL; inflater->zst.zfree = Z_NULL; + inflater->zst.opaque = Z_NULL; inflater->version = version; hd_dict = spdylay_select_hd_dict(&hd_dict_length, version); if(hd_dict == NULL) {