summaryrefslogtreecommitdiff
path: root/hw/xfree86/xf4bpp
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-03-14 14:37:42 -0400
committerAdam Jackson <ajax@redhat.com>2008-03-14 14:46:03 -0400
commit57d48d94b8947c571925e6fd4c9bf041fbd1b2ac (patch)
treee85df874d8607d899c4438fe6c8ff66d1328e011 /hw/xfree86/xf4bpp
parent824853772241acf64bc37ac8b85254194741ae13 (diff)
Fix a stray use of ALLOCATE_LOCAL.
Diffstat (limited to 'hw/xfree86/xf4bpp')
-rw-r--r--hw/xfree86/xf4bpp/ppcSpMcro.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xfree86/xf4bpp/ppcSpMcro.h b/hw/xfree86/xf4bpp/ppcSpMcro.h
index 2b7f951d4..655a883e5 100644
--- a/hw/xfree86/xf4bpp/ppcSpMcro.h
+++ b/hw/xfree86/xf4bpp/ppcSpMcro.h
@@ -28,11 +28,11 @@
#define SETSPANPTRS(IN,N,IPW,PW,IPPT,PPT,FPW,FPPT,FSORT) \
{ \
N = IN * miFindMaxBand(pGC->pCompositeClip); \
- if(!(PW = (int *)ALLOCATE_LOCAL(N * sizeof(int)))) \
+ if(!(PW = (int *)xalloc(N * sizeof(int)))) \
return; \
- if(!(PPT = (DDXPointRec *)ALLOCATE_LOCAL(N * sizeof(DDXPointRec)))) \
+ if(!(PPT = (DDXPointRec *)xalloc(N * sizeof(DDXPointRec)))) \
{ \
- DEALLOCATE_LOCAL(PW); \
+ free(PW); \
return; \
} \
FPW = PW; \