summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mi/mipolypnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mipolypnt.c b/mi/mipolypnt.c
index 3c6ed4eb8..5a0e52363 100644
--- a/mi/mipolypnt.c
+++ b/mi/mipolypnt.c
@@ -73,7 +73,7 @@ miPolyPoint(
int i;
xPoint *ppt;
- if(!(pwidthInit = xalloc(npt * sizeof(int))))
+ if(!(pwidthInit = malloc(npt * sizeof(int))))
return;
/* make pointlist origin relative */