diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-05-20 22:47:19 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-05-20 22:47:19 +0800 |
commit | c1694230516fe1c3d78e4fd23aebd5fbc00ce21c (patch) | |
tree | 613a04012ce46ddecb6216301c7cca710cf17aac /common-kex.c | |
parent | fdc6f323923b36add7ab7112b1b4d05368bd5902 (diff) |
glaring wrapfd problems fixed
--HG--
branch : fuzz
Diffstat (limited to 'common-kex.c')
-rw-r--r-- | common-kex.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |