stop leaking filename parameter passed to getfont