Bug 1109907 - Add missing OOM check, r=nmatsakis.