fix memory leak in FontTest
Merge pull request #2435 from minggo/master

fix memory leak in FontTest