Correct arguments to font alloc function.
Fix a shutdown crash with close fonts.
Merge pull request #918 from unknownbrackets/fonts

Fix font crash on close again