]> git.wh0rd.org - fontconfig.git/commitdiff
[fcxml] Don't allocate attr array if there are no attributes
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Mar 2009 13:27:20 +0000 (09:27 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Mar 2009 17:14:37 +0000 (13:14 -0400)
Reduces number of mallocs from FcConfigSaveAttr() in my small test
from over 900 down to 157.


No differences found