Fix global variable leak.