Commit e3ac93e
wifi: mwifiex: fix double free in mwifiex_send_rgpower_table()
The "hostcmd" is freed using cleanup.h, so calling kfree() will lead to
a double free. Delete the kfree().
Fixes: 7b6f16a ("wifi: mwifiex: add rgpower table loading support")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Francesco Dolcini <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Johannes Berg <[email protected]>1 parent e53f8b1 commit e3ac93e
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1521 | 1521 | | |
1522 | 1522 | | |
1523 | 1523 | | |
1524 | | - | |
1525 | | - | |
| 1524 | + | |
1526 | 1525 | | |
1527 | | - | |
1528 | 1526 | | |
1529 | 1527 | | |
1530 | 1528 | | |
| |||
0 commit comments