diff options
Diffstat (limited to 'nx-X11/programs/Xserver/composite')
-rw-r--r-- | nx-X11/programs/Xserver/composite/compinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/composite/compinit.c b/nx-X11/programs/Xserver/composite/compinit.c index e33bd3a3f..27b54468f 100644 --- a/nx-X11/programs/Xserver/composite/compinit.c +++ b/nx-X11/programs/Xserver/composite/compinit.c @@ -230,7 +230,7 @@ compRegisterAlternateVisuals(CompScreenPtr cs, VisualID * vids, int nVisuals) p = reallocarray(cs->alternateVisuals, cs->numAlternateVisuals + nVisuals, sizeof(VisualID)); #else - p = xrealloc(cs->alternateVisuals, + p = realloc(cs->alternateVisuals, sizeof(VisualID) * (cs->numAlternateVisuals + nVisuals)); #endif if (p == NULL) @@ -265,7 +265,7 @@ CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen, p = reallocarray(cs->implicitRedirectExceptions, cs->numImplicitRedirectExceptions + 1, sizeof(p[0])); #else - p = xrealloc(cs->implicitRedirectExceptions, + p = realloc(cs->implicitRedirectExceptions, sizeof(p[0]) * (cs->numImplicitRedirectExceptions + 1)); #endif if (p == NULL) |