Commit e63d9de4 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXrender: fix another memleak

parent 78eff73e
......@@ -1004,7 +1004,11 @@ ProcRenderCompositeGlyphs (ClientPtr client)
elementsBase = malloc(nlist * sizeof(XGlyphElt8));
if (!elementsBase)
return BadAlloc;
{
free(glyphsBase);
free(listsBase);
return BadAlloc;
}
buffer = (CARD8 *) (stuff + 1);
glyphs = glyphsBase;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment