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
1 changed files with 1 additions and 0 deletions
|
@ -665,6 +665,7 @@ int wl1271_cmd_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len,
|
||||||
|
|
||||||
out:
|
out:
|
||||||
kfree(params);
|
kfree(params);
|
||||||
|
kfree(trigger);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue