mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-22 05:24:14 +00:00
vnc: fix tight png memory leak
The tight.png buffer was never released. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
d1af0e056a
commit
b5469b1104
@ -1674,4 +1674,7 @@ void vnc_tight_clear(VncState *vs)
|
||||
#ifdef CONFIG_VNC_JPEG
|
||||
buffer_free(&vs->tight.jpeg);
|
||||
#endif
|
||||
#ifdef CONFIG_VNC_PNG
|
||||
buffer_free(&vs->tight.png);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user