diff options
Diffstat (limited to 'nx-X11/programs/Xserver/mi/midash.c')
-rw-r--r-- | nx-X11/programs/Xserver/mi/midash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/mi/midash.c b/nx-X11/programs/Xserver/mi/midash.c index 5def4d9c8..59c6afdce 100644 --- a/nx-X11/programs/Xserver/mi/midash.c +++ b/nx-X11/programs/Xserver/mi/midash.c @@ -265,11 +265,11 @@ CheckDashStorage( miDashPtr newppseg; *pnsegMax += NSEGDELTA; - newppseg = (miDashPtr)xrealloc(*ppseg, + newppseg = (miDashPtr)realloc(*ppseg, (*pnsegMax)*sizeof(miDashRec)); if (!newppseg) { - xfree(*ppseg); + free(*ppseg); return (miDashPtr)NULL; } *ppseg = newppseg; |