diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-04-05 16:43:38 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-04-05 16:43:38 +0000 |
commit | 18df927f7b9c302f5eb6eaed63a8fdf209c64552 (patch) | |
tree | b949936e4f9abe11692375b4c0567790663b964b /lib/fontconfig/src/fccharset.c | |
parent | 3f1e1ec27086e513778a2fc86e249a11ab92fe41 (diff) |
Update to fontconfig 2.6.0. ok naddy@
this uses a patched version of libtool to fix linking on vax.
Diffstat (limited to 'lib/fontconfig/src/fccharset.c')
-rw-r--r-- | lib/fontconfig/src/fccharset.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fontconfig/src/fccharset.c b/lib/fontconfig/src/fccharset.c index 5da131283..f4042db07 100644 --- a/lib/fontconfig/src/fccharset.c +++ b/lib/fontconfig/src/fccharset.c @@ -1239,6 +1239,9 @@ FcCharSetFreezerDestroy (FcCharSetFreezer *freezer) for (ent = freezer->set_hash_table[i]; ent; ent = next) { next = ent->next; + FcMemFree (FC_MEM_CHARSET, (sizeof (FcCharSetEnt) + + ent->set.num * sizeof (FcCharLeaf *) + + ent->set.num * sizeof (FcChar16))); free (ent); } } @@ -1254,7 +1257,10 @@ FcCharSetFreezerDestroy (FcCharSetFreezer *freezer) } for (i = 0; i < freezer->leaf_block_count; i++) + { free (freezer->leaf_blocks[i]); + FcMemFree (FC_MEM_CHARLEAF, FC_CHAR_LEAF_BLOCK * sizeof (FcCharLeafEnt)); + } free (freezer->leaf_blocks); free (freezer); |