[PATCH openEuler-5.10 081/236] libbpf: Fix the possible memory leak on error