Use calloc instead of xcalloc.

This commit is contained in:
David Reveman 2008-10-20 16:54:34 -04:00
parent 8be57614e5
commit dc9c9a33be

View file

@ -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));