summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/vnc-enc-tight.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c
index 52b81f3..3f19df2 100644
--- a/ui/vnc-enc-tight.c
+++ b/ui/vnc-enc-tight.c
@@ -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
}
OpenPOWER on IntegriCloud