The set of Equipment to be destroyed is determined only as Corrosive Ooze’s delayed triggered ability resolves at the end of combat. The Equipment will be destroyed even if Corrosive Ooze leaves the battlefield before that time.

4/27/2018

If the creature Corrosive Ooze blocks or is blocking leaves the battlefield, the Equipment that was attached to that creature immediately before it left the battlefield will be destroyed as Corrosive Ooze’s delayed triggered ability resolves at the end of combat.