Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix double free in font loading failure #3854
The memory is freeed in font_dealloc, doing that again leads to SIGABRT.
Changes proposed in this pull request:
I wanted to add test for this, but the error handling futher is broken as well (the invalid font raises IOError, which is later intepreted as missing file and loader tries to do