From 84b49742ad6f654a94c0315800fcf9925f47d30e Mon Sep 17 00:00:00 2001 From: Valerii Iatsko Date: Fri, 5 Feb 2016 15:02:47 +0100 Subject: [PATCH] ssld: fix memleak same as r29199 ircd-ratbox: free zlib_stream_t with the rest of the conn_t --- ssld/ssld.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssld/ssld.c b/ssld/ssld.c index 6c7dcba8..532a8a4b 100644 --- a/ssld/ssld.c +++ b/ssld/ssld.c @@ -209,6 +209,7 @@ free_conn(conn_t * conn) zlib_stream_t *stream = conn->stream; inflateEnd(&stream->instream); deflateEnd(&stream->outstream); + rb_free(stream); } #endif rb_free(conn);