From 4a83f87609b9d53b2983806be58ccd02498a5cd3 Mon Sep 17 00:00:00 2001 From: runge Date: Mon, 13 Nov 2006 15:33:00 +0000 Subject: x11vnc: Native Mac OS X support. --- x11vnc/xrecord.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'x11vnc/xrecord.c') 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; -- cgit v1.2.1