From dc9c9a33be7fa271a6e005a828f831c15373b5ea Mon Sep 17 00:00:00 2001 From: David Reveman Date: Mon, 20 Oct 2008 16:54:34 -0400 Subject: [PATCH] Use calloc instead of xcalloc. --- hw/dmx/dmxextension.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/dmx/dmxextension.c b/hw/dmx/dmxextension.c index a7c70a571..6aa3321f6 100644 --- a/hw/dmx/dmxextension.c +++ b/hw/dmx/dmxextension.c @@ -1353,7 +1353,7 @@ static void dmxBERestoreRenderGlyph(pointer value, XID id, pointer n) return; /* Now allocate the memory we need */ - images = xcalloc(len_images, sizeof(char)); + images = calloc(len_images, sizeof(char)); gids = xalloc(glyphSet->hash.tableEntries*sizeof(Glyph)); glyphs = xalloc(glyphSet->hash.tableEntries*sizeof(XGlyphInfo));