[PATCH 5.15 309/567] drivers: base: transport_class: fix possible memory leak