Revision 161c4f20 vnc-encoding-zlib.c
b/vnc-encoding-zlib.c | ||
---|---|---|
140 | 140 |
vnc_write_u32(vs, bytes_written); |
141 | 141 |
vs->output.offset = new_offset; |
142 | 142 |
} |
143 |
|
|
144 |
void vnc_zlib_clear(VncState *vs) |
|
145 |
{ |
|
146 |
if (vs->zlib_stream.opaque) { |
|
147 |
deflateEnd(&vs->zlib_stream); |
|
148 |
} |
|
149 |
buffer_free(&vs->zlib); |
|
150 |
} |
Also available in: Unified diff