summaryrefslogtreecommitdiff
path: root/hw/xquartz/pseudoramiX.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/pseudoramiX.c')
-rw-r--r--hw/xquartz/pseudoramiX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/pseudoramiX.c b/hw/xquartz/pseudoramiX.c
index 1de7af6dc..c3154b948 100644
--- a/hw/xquartz/pseudoramiX.c
+++ b/hw/xquartz/pseudoramiX.c
@@ -94,7 +94,7 @@ PseudoramiXAddScreen(int x, int y, int w, int h)
if (pseudoramiXNumScreens == pseudoramiXScreensAllocated) {
pseudoramiXScreensAllocated += pseudoramiXScreensAllocated + 1;
- pseudoramiXScreens = xrealloc(pseudoramiXScreens,
+ pseudoramiXScreens = realloc(pseudoramiXScreens,
pseudoramiXScreensAllocated *
sizeof(PseudoramiXScreenRec));
}