summaryrefslogtreecommitdiffstats
path: root/x11vnc/xrecord.c
diff options
context:
space:
mode:
authorrunge <runge>2006-11-13 15:33:00 +0000
committerrunge <runge>2006-11-13 15:33:00 +0000
commit4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch)
treea79c96930a97fb162edd1765adece43425f8db8a /x11vnc/xrecord.c
parent5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff)
downloadlibtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz
libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/xrecord.c')
-rw-r--r--x11vnc/xrecord.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11vnc/xrecord.c b/x11vnc/xrecord.c
index b7bcbe5..ababb37 100644
--- a/x11vnc/xrecord.c
+++ b/x11vnc/xrecord.c
@@ -156,9 +156,9 @@ void initialize_xrecord(void) {
RAWFB_RET_VOID
#if LIBVNCSERVER_HAVE_RECORD
- if (rr_CA) XFree(rr_CA);
- if (rr_CW) XFree(rr_CW);
- if (rr_GS) XFree(rr_GS);
+ if (rr_CA) XFree_wr(rr_CA);
+ if (rr_CW) XFree_wr(rr_CW);
+ if (rr_GS) XFree_wr(rr_GS);
rr_CA = XRecordAllocRange();
rr_CW = XRecordAllocRange();
@@ -236,9 +236,9 @@ void shutdown_xrecord(void) {
xserver_grabbed, dnowx());
}
- if (rr_CA) XFree(rr_CA);
- if (rr_CW) XFree(rr_CW);
- if (rr_GS) XFree(rr_GS);
+ if (rr_CA) XFree_wr(rr_CA);
+ if (rr_CW) XFree_wr(rr_CW);
+ if (rr_GS) XFree_wr(rr_GS);
rr_CA = NULL;
rr_CW = NULL;