[openEuler-5.10 115/150] cxl: Fix a memory leak in an error handling path