diff options
author | 2021-01-15 13:05:56 +0200 | |
---|---|---|
committer | 2021-01-25 15:53:06 +0200 | |
commit | 2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e (patch) | |
tree | 96091f080593fc6f29b5b32e4bfe307574107c63 /net/lapb/lapb_timer.c | |
parent | iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap (diff) | |
download | wireguard-linux-2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e.tar.xz wireguard-linux-2d6bc752cc2806366d9a4fd577b3f6c1f7a7e04e.zip |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions