diff options
-rw-r--r-- | src/alp_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c index 4689a52..ab6f84a 100644 --- a/src/alp_driver.c +++ b/src/alp_driver.c @@ -433,13 +433,13 @@ GetAccelPitchValues(ScrnInfoPtr pScrn) if ((accelWidths[i] % pCir->Rounding == 0) && ((accelWidths[i] * pScrn->bitsPerPixel / 8) <= max_pitch)) { n++; - linePitches = xnfrealloc(linePitches, n * sizeof(int)); + linePitches = XNFrealloc(linePitches, n * sizeof(int)); linePitches[n - 1] = accelWidths[i]; } } /* Mark the end of the list */ if (n > 0) { - linePitches = xnfrealloc(linePitches, (n + 1) * sizeof(int)); + linePitches = XNFrealloc(linePitches, (n + 1) * sizeof(int)); linePitches[n] = 0; } return linePitches; |