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:
parent
801162919d
commit
f62ba192c2
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user