aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/randr/rrtransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/randr/rrtransform.c')
-rw-r--r--nx-X11/programs/Xserver/randr/rrtransform.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrtransform.c b/nx-X11/programs/Xserver/randr/rrtransform.c
index f0c5dd8c7..d32b43aa3 100644
--- a/nx-X11/programs/Xserver/randr/rrtransform.c
+++ b/nx-X11/programs/Xserver/randr/rrtransform.c
@@ -70,11 +70,7 @@ RRTransformSetFilter(RRTransformPtr dst,
xFixed *new_params;
if (nparams) {
-#ifndef NXAGENT_SERVER
new_params = xallocarray(nparams, sizeof(xFixed));
-#else /* !defined(NXAGENT_SERVER) */
- new_params = malloc(nparams * sizeof(xFixed));
-#endif /* !defined(NXAGENT_SERVER) */
if (!new_params)
return FALSE;
memcpy(new_params, params, nparams * sizeof(xFixed));