behdad/harfbuzz — pull request #3 by bgrainger (2013-06-21 22:04:52+00:00)
Title: Destroy lookups before blobs.

We were experiencing a crash on shutdown when calling `layout->gsub->get_lookup(i)`; it appeared to be a use-after-free error.

`layout->gsub` may depend on data owned by `layout->gsub_blob`, so it must be deinitialized before the blob is destroyed. (Similarly for `layout->gpos`.)