Fixed free which lead to bogus memory access: