aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-24 20:20:21 -0500
committerKalle Valo <kvalo@codeaurora.org>2019-10-01 12:20:29 +0300
commit3f93616951138a598d930dcaec40f2bfd9ce43bb (patch)
treedb68bf21a1543784de4c5d400c4b56ad22147e14 /tools/perf/scripts/python
parentrtlwifi: rtl8723ae: Remove unused 'rtstatus' variable (diff)
downloadlinux-3f93616951138a598d930dcaec40f2bfd9ce43bb.tar.gz
linux-3f93616951138a598d930dcaec40f2bfd9ce43bb.zip
rtlwifi: prevent memory leak in rtl_usb_probe
In rtl_usb_probe if allocation for usb_data fails the allocated hw should be released. In addition the allocated rtlpriv->usb_data should be released on error handling path. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions