aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorXiaoke Wang <[email protected]>2022-02-18 21:59:45 +0800
committerGreg Kroah-Hartman <[email protected]>2022-02-21 18:04:49 +0100
commit60f1d3c92dc1ef1026e5b917a329a7fa947da036 (patch)
treed315b08e6ce4aedf651ff6093201fa4442f2563c /tools/perf/scripts/python/bin
parent1f3c2a776a370d8388e9958c94d13494388089b0 (diff)
staging: wfx: fix an error handling in wfx_init_common()
One error handler of wfx_init_common() return without calling ieee80211_free_hw(hw), which may result in memory leak. And I add one err label to unify the error handler, which is useful for the subsequent changes. Suggested-by: Jérôme Pouiller <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Reviewed-by: Jérôme Pouiller <[email protected]> Signed-off-by: Xiaoke Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions