allocate: debugFree with static variables