diff options
author | Alex Dewar <alex.dewar90@gmail.com> | 2020-10-04 11:02:18 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-10-08 13:45:55 +0300 |
commit | 8431350eee2e27ae60f5250e0437ab298329070e (patch) | |
tree | 7950e2bccdb6f77caa2b1adb8a8685816c4cf860 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7d4ced86997f69cc276a92cb304db3f0ea11366d (diff) |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions