In Load_ChainContextSubst2, handle the case where an empty class
authorOwen Taylor <otaylor@redhat.com>
Fri, 15 Mar 2002 06:46:05 +0000 (06:46 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 15 Mar 2002 06:46:05 +0000 (06:46 +0000)
commit6b1b04e3736fdca774052ac3cfbe9f027548c29d
tree3f9c1ebaa52896671f351f5a07d06091cadc8a13
parent6050933f336f43453e35246525cfec362bd23acb
In Load_ChainContextSubst2, handle the case where an empty class

Fri Mar 15 01:35:56 2002  Owen Taylor  <otaylor@redhat.com>

* pango/opentype/ftxgsub.c pango/opentype/ftxopen.c
pango/opentype/ftxopenf.h: In Load_ChainContextSubst2,
handle the case where an empty class definition
is represented by an offset of 0.

* pango/opentype/ftxgpos.c: Same for Load_ChainContextPos2.

* pango/opentype/{ftxopen.c,ftxgpos.c,ftxgsub.c,ftgdef.c}:
Fix pervasive bug where on cleanups on failure of loading
an array element, all array elements were freed, not
just the ones that had been succesfully loaded.
src/ftxgdef.c
src/ftxgpos.c
src/ftxgsub.c
src/ftxopen.c
src/ftxopenf.h