summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-25 04:20:21 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-10-01 12:20:29 +0300
commit3f93616951138a598d930dcaec40f2bfd9ce43bb (patch)
treedb68bf21a1543784de4c5d400c4b56ad22147e14 /tools/perf/scripts/python
parent6e7d59776311e181160d44ed3c73cc7e65def7f2 (diff)
downloadlinux-3f93616951138a598d930dcaec40f2bfd9ce43bb.tar.xz
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