aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiaoke Wang <xkernel.wang@foxmail.com>2022-02-18 21:59:45 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-21 18:04:49 +0100
commit60f1d3c92dc1ef1026e5b917a329a7fa947da036 (patch)
treed315b08e6ce4aedf651ff6093201fa4442f2563c /tools/perf/scripts/python/export-to-postgresql.py
parentstaging: wfx: fix scan with WFM200 and WW regulation (diff)
downloadlinux-60f1d3c92dc1ef1026e5b917a329a7fa947da036.tar.gz
linux-60f1d3c92dc1ef1026e5b917a329a7fa947da036.zip
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 <jerome.pouiller@silabs.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> Link: https://lore.kernel.org/r/tencent_24A24A3EFF61206ECCC4B94B1C5C1454E108@qq.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions