mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacmn: Fix memory leak in rx_wbm_error_process
The nbuf is not freed for all possible branches in rx_wbm_error_pr cess function. Add fix to ensure the nbuf free for all conditions. CRs-Fixed: 2171899 Change-Id: I8e40fc7dc5afb0be0257244e1e704a0200ffacc0
This commit is contained in:
parent
1315fb7468
commit
d70b7d958d
1 changed files with 1 additions and 0 deletions
|
|
@ -1122,6 +1122,7 @@ done:
|
|||
qdf_assert(0);
|
||||
}
|
||||
|
||||
qdf_nbuf_free(nbuf);
|
||||
nbuf = next;
|
||||
hal_rx_dump_pkt_tlvs(rx_tlv_hdr, QDF_TRACE_LEVEL_DEBUG);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue