From 8c8e8bc29af3600719cbcf3d194f245f8fdb5256 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sat, 20 May 2017 22:47:19 +0800 Subject: glaring wrapfd problems fixed --- common-kex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common-kex.c') diff --git a/common-kex.c b/common-kex.c index 5259fce..a95182c 100644 --- a/common-kex.c +++ b/common-kex.c @@ -403,6 +403,7 @@ static void gen_new_zstream_recv() { ses.newkeys->recv.zstream->zfree = Z_NULL; if (inflateInit(ses.newkeys->recv.zstream) != Z_OK) { + m_free(ses.newkeys->recv.zstream); dropbear_exit("zlib error"); } } else { -- cgit v1.2.1