diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-24 20:20:21 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 13:34:05 +0100 |
| commit | ca4fb6974bb645ebf3352f5bba7699db4b44b75f (patch) | |
| tree | cdc7f6f01a94396803cac1fe69987ade5a616049 /include/linux/timerqueue.h | |
| parent | 15a99cbc09f1e6764aec1d22f68ef2d122dbad22 (diff) | |
rtlwifi: prevent memory leak in rtl_usb_probe
[ Upstream commit 3f93616951138a598d930dcaec40f2bfd9ce43bb ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
