diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:44:07 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:44:07 +0200 |
commit | 35bb7294c5997578463af629b91373424c641bdb (patch) | |
tree | 3291c8629e54d901302e21d67e4aba12ecc5a7b2 | |
parent | 158e69d735f307cb29110d381df8badfb930eb5c (diff) | |
download | tigervnc-35bb7294c5997578463af629b91373424c641bdb.tar.gz tigervnc-35bb7294c5997578463af629b91373424c641bdb.zip |
Properly free temporary cursor buffer
-rw-r--r-- | unix/xserver/hw/vnc/vncHooks.c | 2 |
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: |