commit | db2df2e3d9849242c8560f3fe65ca7ffcbdbc6e7 | [log] [tgz] |
---|---|---|
author | Dustin Brown <dustinb@codeaurora.org> | Wed Oct 31 15:29:24 2018 -0700 |
committer | nshrivas <nshrivas@codeaurora.org> | Thu Nov 01 21:18:00 2018 -0700 |
tree | 39b0129a4c11edea22851312b738dbb45b73d085 | |
parent | 97dd4e13f54b7348946f652d51784b9937f2f194 [diff] |
qcacld-3.0: Move psoc destroy to hdd_context_destroy Ida2b81eef0ebbfba2749ca89b63980201830a5e2 moved psoc create into hdd_context_create(), however the destroy path remained as it was. This caused a regression in the error path where the psoc was not cleaned up in all cases. Move the psoc destroy into hdd_context_destroy to maintain symmetry and avoid leaking the psoc under error conditions. Change-Id: I3b16c9ea37dcf3e3b0ef262894aead5ff4fac59c CRs-Fixed: 2342955