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…
Reference in New Issue
Block a user