Fixed a leaked global.