Bug 334285: do not leak the original memory block (and the monitors they point to) when PR_REALLOC fails. Portions of the patch are contributed by Brodie <bmo@jellycan.com> and timeless. r=relyea,nelson Modified files: prinit.c ptthread.c primpl.h prcmon.c git-svn-id: svn://10.0.0.236/trunk@243589 18797224-902f-48f8-a5cc-f745e15eee43