mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 22:44:03 +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
|
#ifdef CONFIG_VNC_JPEG
|
||||||
buffer_free(&vs->tight.jpeg);
|
buffer_free(&vs->tight.jpeg);
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CONFIG_VNC_PNG
|
||||||
|
buffer_free(&vs->tight.png);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user