check some allocation with Ashwin patch Daniel * threads.c: check some allocation with Ashwin patch Daniel svn path=/trunk/; revision=3711