ssld: fix memleak

same as r29199 ircd-ratbox:
free zlib_stream_t with the rest of the conn_t
This commit is contained in:
Valerii Iatsko 2016-02-05 15:02:47 +01:00 committed by William Pitcock
parent 8f89a66d2a
commit 84b49742ad
1 changed files with 1 additions and 0 deletions

View File

@ -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);