diff options
Diffstat (limited to 'mi/mizerline.c')
-rw-r--r-- | mi/mizerline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mi/mizerline.c b/mi/mizerline.c index 46e2e2adc..07cfbe113 100644 --- a/mi/mizerline.c +++ b/mi/mizerline.c @@ -155,8 +155,8 @@ miZeroLine( width = xright - xleft + 1; height = ybottom - ytop + 1; list_len = (height >= width) ? height : width; - pspanInit = xalloc(list_len * sizeof(DDXPointRec)); - pwidthInit = xalloc(list_len * sizeof(int)); + pspanInit = malloc(list_len * sizeof(DDXPointRec)); + pwidthInit = malloc(list_len * sizeof(int)); if (!pspanInit || !pwidthInit) return; @@ -359,8 +359,8 @@ miZeroLine( (*pGC->ops->FillSpans)(pDraw, pGC, Nspans, pspanInit, pwidthInit, FALSE); - xfree(pwidthInit); - xfree(pspanInit); + free(pwidthInit); + free(pspanInit); } void |