diff options
author | Corentin Chary <corentincj@iksaif.net> | 2010-05-19 09:24:08 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-06-01 12:53:09 -0500 |
commit | 161c4f20bfbd54f0b77426adccb68ee831678af0 (patch) | |
tree | b61ba391c826cee4811ddba94b415513dab9f1ec /vnc.h | |
parent | 5d418e3ba96cfa810e00885a52b55f19cac8f9a6 (diff) | |
download | qemu-161c4f20bfbd54f0b77426adccb68ee831678af0.zip |
vnc: remove a memory leak in zlib
Makes sure we free all ressources used in zlib encoding (zlib stream
and buffer).
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.h')
-rw-r--r-- | vnc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -405,5 +405,6 @@ void vnc_hextile_send_framebuffer_update(VncState *vs, int x, void vnc_hextile_set_pixel_conversion(VncState *vs, int generic); void vnc_zlib_send_framebuffer_update(VncState *vs, int x, int y, int w, int h); +void vnc_zlib_clear(VncState *vs); #endif /* __QEMU_VNC_H */ |