[PATCH openEuler-22.03-LTS-SP1 V1] aoe: fix the potential use-after-free problem in more places