[PATCH 6.1 445/885] drivers: base: transport_class: fix resource leak when transport_add_device() fails