mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user