mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: Fix memory leak in p2p oper chan change confirm action frame
In lim_oper_chan_change_confirm_tx_complete_cnf, need free frame buf alloced in lim_p2p_oper_chan_change_confirm_action_frame, or buffer is leaked. Change-Id: Ic479427282742fb4fbbe28ab1acdf91e0a511340 CRs-Fixed: 2238603
This commit is contained in:
parent
1fb413e292
commit
83e8b126e9
1 changed files with 2 additions and 0 deletions
|
|
@ -3739,6 +3739,8 @@ static QDF_STATUS lim_oper_chan_change_confirm_tx_complete_cnf(
|
|||
void *params)
|
||||
{
|
||||
pe_debug("tx_complete: %d", tx_complete);
|
||||
if (buf)
|
||||
qdf_nbuf_free(buf);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue