Bug 1028588 - Fix dangerous public destructors in parser/ - r=wchen