[PATCH 6.2 0526/1001] drivers: base: transport_class: fix possible memory leak