Bug 990230 - Fix heap use-after-free in memory reporter. r=n.nethercote