Alex Dewar 8431350eee ath11k: Fix memory leak on error path
In ath11k_mac_setup_iface_combinations(), if memory cannot be assigned
for the variable limits, then the memory assigned to combinations will
be leaked. Fix this.

Addresses-Coverity-ID: 1497534 ("Resource leaks")
Fixes: 2626c269702e ("ath11k: add interface_modes to hw_params")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201004100218.311653-2-alex.dewar90@gmail.com
2020-10-08 13:45:55 +03:00
..
2020-10-01 22:33:17 +03:00
2020-10-01 22:33:09 +03:00
2020-10-01 22:33:20 +03:00
2020-10-01 22:33:09 +03:00
2020-10-01 22:33:17 +03:00
2020-10-08 13:45:55 +03:00
2020-03-18 13:53:49 +02:00
2020-06-23 10:51:56 +03:00
2020-03-17 08:35:30 +02:00
2020-06-15 17:21:54 +03:00