For version 2.5.0, on line 970 and 971 in source file fcxml.c, in subroutine FcPStackPush(), Original lines: if (!new->attr) FcConfigMessage (parse, FcSevereError, "out of memory"); Should change to: if (!new->attr) { FcConfigMessage (parse, FcSevereError, "out of memory"); return FcFalse; }
I think it should read: if (!new->attr) { FcConfigMessage (parse, FcSevereError, "out of memory"); FcMemFree (FC_MEM_PSTACK, sizeof (FcPStack)); free (new); return FcFalse; } so that it cleans up the other allocation.
Fixed some time ago. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.