[PATCH openEuler-5.10 23/28] usb: gadget: clear related members when goto fail