From 35bb7294c5997578463af629b91373424c641bdb Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 29 Sep 2015 15:44:07 +0200 Subject: [PATCH] Properly free temporary cursor buffer --- unix/xserver/hw/vnc/vncHooks.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.39.5