summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaLineMisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaLineMisc.c')
-rw-r--r--hw/xfree86/xaa/xaaLineMisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/xaa/xaaLineMisc.c b/hw/xfree86/xaa/xaaLineMisc.c
index 6cef4bcd5..e017c22f8 100644
--- a/hw/xfree86/xaa/xaaLineMisc.c
+++ b/hw/xfree86/xaa/xaaLineMisc.c
@@ -75,7 +75,7 @@ XAAComputeDash(GCPtr pGC)
Bool set;
if(pGCPriv->DashPattern)
- xfree(pGCPriv->DashPattern);
+ free(pGCPriv->DashPattern);
pGCPriv->DashPattern = NULL;
pGCPriv->DashLength = 0;
@@ -93,7 +93,7 @@ XAAComputeDash(GCPtr pGC)
(PatternLength & (PatternLength - 1)))
return;
- pGCPriv->DashPattern = xcalloc((PatternLength + 31) >> 5, 4);
+ pGCPriv->DashPattern = calloc((PatternLength + 31) >> 5, 4);
if(!pGCPriv->DashPattern) return;
pGCPriv->DashLength = PatternLength;