diff options
| author | Xiaoke Wang <[email protected]> | 2022-02-18 21:59:45 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-21 18:04:49 +0100 |
| commit | 60f1d3c92dc1ef1026e5b917a329a7fa947da036 (patch) | |
| tree | d315b08e6ce4aedf651ff6093201fa4442f2563c /tools/perf/scripts/python | |
| parent | 1f3c2a776a370d8388e9958c94d13494388089b0 (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')
0 files changed, 0 insertions, 0 deletions