From 161c4f20bfbd54f0b77426adccb68ee831678af0 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 19 May 2010 09:24:08 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- vnc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vnc.h') diff --git a/vnc.h b/vnc.h index c97113b8ea..2fbe614484 100644 --- a/vnc.h +++ b/vnc.h @@ -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 */ -- cgit v1.2.3