[Nasal-cvs] gc.c misc.c

Andy Ross andy at plausible.org
Thu Mar 29 11:13:27 PDT 2007


Update of /home/nasal-cvs/nasal/src
In directory purr:/tmp/cvs-serv25599

Modified Files:
	gc.c misc.c 
Log Message:
Fix operation order in gc.c:reap().  Need to have a valid Pool
structure before the final call to newBlock or else applications with
multiple contexts and odd allocation patterns (*cough* FlightGear
*cough*) can sometimes get overlapping regions of new pointers
allocated, leading to corruption.  Yikes, this took forever to debug;
my only failing test case was the a complete fgfs run...



More information about the nasal-cvs mailing list