mirror of https://gitee.com/openkylin/linux.git
wl1271: Fix memory leak in scan command handling
This patch fixes a memory leak in the scan command handling code. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
f83cce3551
commit
9cea461fb0
|
@ -665,6 +665,7 @@ int wl1271_cmd_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len,
|
|||
|
||||
out:
|
||||
kfree(params);
|
||||
kfree(trigger);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue