Do not use deprecated Xalloc function

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Mikhail Gusarov 2010-05-13 01:47:26 +07:00
parent 801162919d
commit f62ba192c2

View File

@ -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 */