0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

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

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