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
8f89a66d2a
commit
84b49742ad
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