diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-11-05 14:14:04 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-11-05 14:34:45 +0000 |
commit | ca75261beedc3e00767b3812a81b7dac4437f4a1 (patch) | |
tree | 39e66fdde5253d6b3826f4149c9618ee29bbf2ea /cfb/cfbglblt8.c | |
parent | 914922fd6100a409a3dfd1c64511ed6bdc344bef (diff) |
cfb: Remove usage of alloca
Replace with xalloc/xfree.
Diffstat (limited to 'cfb/cfbglblt8.c')
-rw-r--r-- | cfb/cfbglblt8.c | 4 |
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 */ |