ssld: fix memleak
same as r29199 ircd-ratbox: free zlib_stream_t with the rest of the conn_t
This commit is contained in:
parent
56f1d769bd
commit
b1f028e5d4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue