summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 01:47:26 +0700
committerMikhail Gusarov <dottedmag@dottedmag.net>2010-05-13 04:53:30 +0700
commitf62ba192c285b1e49bf299f03fc0b763680afaaf (patch)
tree87a3b4d9a7836185cc7a2a0433c3d31defdb4fe7
parent801162919d1c625d950a5d105ae4b3487ebc30a7 (diff)
Do not use deprecated Xalloc function
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Matt Turner <mattst88@gmail.com>
-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 */