[PATCH 5.7 054/376] ath11k: Fix some resource leaks in error path in ath11k_thermal_register()