summaryrefslogtreecommitdiff
path: root/cfb/cfbglblt8.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-11-05 14:14:04 +0000
committerDaniel Stone <daniel@fooishbar.org>2007-11-05 14:34:45 +0000
commitca75261beedc3e00767b3812a81b7dac4437f4a1 (patch)
tree39e66fdde5253d6b3826f4149c9618ee29bbf2ea /cfb/cfbglblt8.c
parent914922fd6100a409a3dfd1c64511ed6bdc344bef (diff)
cfb: Remove usage of alloca
Replace with xalloc/xfree.
Diffstat (limited to 'cfb/cfbglblt8.c')
-rw-r--r--cfb/cfbglblt8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfb/cfbglblt8.c b/cfb/cfbglblt8.c
index c4cba0e15..4d964b35d 100644
--- a/cfb/cfbglblt8.c
+++ b/cfb/cfbglblt8.c
@@ -355,7 +355,7 @@ cfbPolyGlyphBlt8Clipped(
}
if (!numRects)
return;
- clips = (CARD32 *)ALLOCATE_LOCAL ((maxAscent + maxDescent) *
+ clips = (CARD32 *)xalloc ((maxAscent + maxDescent) *
sizeof (CARD32));
while (nglyph--)
{
@@ -471,7 +471,7 @@ cfbPolyGlyphBlt8Clipped(
}
}
}
- DEALLOCATE_LOCAL (clips);
+ xfree (clips);
}
#endif /* FOUR_BIT_CODE */