[PATCH 1/5] Do not use deprecated Xalloc function

Mikhail Gusarov dottedmag at dottedmag.net
Wed May 12 13:33:10 PDT 2010


Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 mi/mipolypnt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mi/mipolypnt.c b/mi/mipolypnt.c
index 3c6ed4e..5a0e523 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 */
-- 
1.7.1



More information about the xorg-devel mailing list