diff options
author | runge <runge> | 2006-11-13 15:33:00 +0000 |
---|---|---|
committer | runge <runge> | 2006-11-13 15:33:00 +0000 |
commit | 4a83f87609b9d53b2983806be58ccd02498a5cd3 (patch) | |
tree | a79c96930a97fb162edd1765adece43425f8db8a /x11vnc/xrecord.c | |
parent | 5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff) | |
download | libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip |
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/xrecord.c')
-rw-r--r-- | x11vnc/xrecord.c | 12 |
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; |