If a palette is created under nsDeviceContextOS2::GetPaletteInfo, there is no mechanism in place to free it up.
May God have mercy on us all. The 212 bug spam-o-rama is Now!
This will be fixed by the new 256 color code I am checking in. *** This bug has been marked as a duplicate of 140683 ***