Fix deallocation in integrals.