Fix global leak.