commit | ae8afdf04250a4e852a3b5c361f1c388ca02fedc | [log] [tgz] |
---|---|---|
author | bings <bings@codeaurora.org> | Thu Jan 09 18:36:31 2020 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Fri Jan 17 22:53:01 2020 -0800 |
tree | 2e4b11c927ea4f57deaae891eef1151b0b9fc1a1 | |
parent | 3020842b6d808442f2d1f2fae634350fb1b01fc8 [diff] |
qcacmn: Fix memory leak and NULL access in scm_add_rnr_channel_db In scm_add_rnr_channel_db, if pointer channel is NULL, it should return. Allocate rnr_node buffer whenever it is used, otherwise memory leak happens if the BSS channel is not 6Ghz. Change-Id: Iecba2453c2e9cdf9301826e0e11f740190616110 CRs-Fixed: 2601014