commit | 84da07f17efd931860586c11916cc7fa504305b2 | [log] [tgz] |
---|---|---|
author | Qun Zhang <qunz@codeaurora.org> | Wed Dec 26 17:49:10 2018 +0800 |
committer | nshrivas <nshrivas@codeaurora.org> | Tue Jan 22 02:37:47 2019 -0800 |
tree | 4a55185cba74298a81261447338789c71979310c | |
parent | 6c962c7ac0db7c051caedf661c2acb5c47287f53 [diff] |
qcacmn: Avoid double free in wlan_cfg80211_sched_scan_start() In wlan_cfg80211_sched_scan_start() in the case where wlan_cfg80211_is_chan_ok_for_dnbs() returns failure, "req" is freed both at the point where the test occurs as well as at label "error". Since label error provides centralized cleanup for all of the error cases, remove the free at the point where the test occurs. Change-Id: Ibde90c58d76d1db48ee3f12c251be5eaa2b68c7b CRs-Fixed: 2372789