diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2021-01-15 14:05:56 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2021-01-25 16:53:06 +0300 |
| commit | 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e (patch) | |
| tree | 96091f080593fc6f29b5b32e4bfe307574107c63 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | 98c7d21f957b10d9c07a3a60a3a5a8f326a197e5 (diff) | |
| download | linux-2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e.tar.xz | |
iwlwifi: pcie: fix context info memory leak
If the image loader allocation fails, we leak all the previously
allocated memory. Fix this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.97172cbaa67c.I3473233d0ad01a71aa9400832fb2b9f494d88a11@changeid
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
