summaryrefslogtreecommitdiffstats
path: root/corre.c
diff options
context:
space:
mode:
Diffstat (limited to 'corre.c')
-rw-r--r--corre.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/corre.c b/corre.c
index 5797efb..d6329a1 100644
--- a/corre.c
+++ b/corre.c
@@ -105,17 +105,17 @@ rfbSendSmallRectEncodingCoRRE(cl, x, y, w, h)
if (rreBeforeBufSize < maxRawSize) {
rreBeforeBufSize = maxRawSize;
if (rreBeforeBuf == NULL)
- rreBeforeBuf = (char *)xalloc(rreBeforeBufSize);
+ rreBeforeBuf = (char *)malloc(rreBeforeBufSize);
else
- rreBeforeBuf = (char *)xrealloc(rreBeforeBuf, rreBeforeBufSize);
+ rreBeforeBuf = (char *)realloc(rreBeforeBuf, rreBeforeBufSize);
}
if (rreAfterBufSize < maxRawSize) {
rreAfterBufSize = maxRawSize;
if (rreAfterBuf == NULL)
- rreAfterBuf = (char *)xalloc(rreAfterBufSize);
+ rreAfterBuf = (char *)malloc(rreAfterBufSize);
else
- rreAfterBuf = (char *)xrealloc(rreAfterBuf, rreAfterBufSize);
+ rreAfterBuf = (char *)realloc(rreAfterBuf, rreAfterBufSize);
}
(*cl->translateFn)(cl->translateLookupTable,&(cl->screen->rfbServerFormat),