summaryrefslogtreecommitdiffstats
path: root/x11vnc/xinerama.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xinerama.c')
-rw-r--r--x11vnc/xinerama.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c
index 8582dab..9042cfd 100644
--- a/x11vnc/xinerama.c
+++ b/x11vnc/xinerama.c
@@ -272,7 +272,7 @@ static void initialize_xinerama (void) {
rfbLog("Xinerama: no blackouts needed (only one"
" sub-screen)\n");
}
- XFree(xineramas);
+ XFree_wr(xineramas);
return; /* must be OK w/o change */
}
@@ -293,7 +293,7 @@ static void initialize_xinerama (void) {
sraRgnDestroy(tmp_region);
sc++;
}
- XFree(xineramas);
+ XFree_wr(xineramas);
if (sraRgnEmpty(black_region)) {
rfbLog("Xinerama: no blackouts needed (screen fills"