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/xevents.c | |
parent | 5f9693d4a2c511f8f2ea069373807c5f36ac1459 (diff) | |
download | libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.tar.gz libtdevnc-4a83f87609b9d53b2983806be58ccd02498a5cd3.zip |
x11vnc: Native Mac OS X support.
Diffstat (limited to 'x11vnc/xevents.c')
-rw-r--r-- | x11vnc/xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index e3fc192..9dbdd27 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -190,13 +190,13 @@ static void get_prop(char *str, int len, Atom prop) { dlen = nitems * (format/8); if (slen + dlen > len) { /* too big */ - XFree(data); + XFree_wr(data); break; } memcpy(str+slen, data, dlen); slen += dlen; str[slen] = '\0'; - XFree(data); + XFree_wr(data); } } while (bytes_after > 0); #endif /* NO_X11 */ |