summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-09-29 15:44:07 +0200
committerPierre Ossman <ossman@cendio.se>2015-09-29 15:44:07 +0200
commit35bb7294c5997578463af629b91373424c641bdb (patch)
tree3291c8629e54d901302e21d67e4aba12ecc5a7b2
parent158e69d735f307cb29110d381df8badfb930eb5c (diff)
downloadtigervnc-35bb7294c5997578463af629b91373424c641bdb.tar.gz
tigervnc-35bb7294c5997578463af629b91373424c641bdb.zip
Properly free temporary cursor buffer
-rw-r--r--unix/xserver/hw/vnc/vncHooks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/vncHooks.c b/unix/xserver/hw/vnc/vncHooks.c
index 58a0eca8..eee26820 100644
--- a/unix/xserver/hw/vnc/vncHooks.c
+++ b/unix/xserver/hw/vnc/vncHooks.c
@@ -673,6 +673,8 @@ static Bool vncHooksDisplayCursor(DeviceIntPtr pDev,
#endif
vncSetCursor(pScreen->myNum, width, height, hotX, hotY, rgbaData);
+
+ free(rgbaData);
}
out: