Ticket #148 (closed patch: fixed)
Zero PMC_struct_val when allocating objects
|Reported by:||donaldh||Owned by:||whiteknight|
PMC_struct_val was not zeroed when taken off the free list. That means that allocated objects were pointing back into the free list.
pointer.pmc was actually casting PMC_struct_val to a custom mark function and trying to call it.
The fix is to zero PMC_struct_val when taking the object off the free list.