Fix some memory leaks from ttf fonts