diff --git a/lib/spdylay_zlib.c b/lib/spdylay_zlib.c index 70ce1a1a..63b5b553 100644 --- a/lib/spdylay_zlib.c +++ b/lib/spdylay_zlib.c @@ -279,7 +279,6 @@ int spdylay_zlib_inflate_hd_init(spdylay_zlib *inflater, uint16_t version) return SPDYLAY_ERR_UNSUPPORTED_VERSION; } if(Z_OK != inflateInit(&inflater->zst)) { - spdylay_zlib_inflate_free(inflater); return SPDYLAY_ERR_ZLIB; } return 0;