commit | 21f4cdaee281b9f79549bf157ff309f149ba5fad | [log] [tgz] |
---|---|---|
author | bings <bings@codeaurora.org> | Tue Oct 24 13:47:01 2017 +0800 |
committer | snandini <snandini@codeaurora.org> | Thu Oct 26 21:49:14 2017 -0700 |
tree | 168fc934ab4fb1a87b9d5ea1ad53ec65d58746b1 | |
parent | db8a58c97b00499b1412b92247fcec2e5f29997d [diff] |
qcacmn: Free sdio global variables scn, ol_sc in hif_sdio_close When BMI failed in sdio, hif_sdio_dev->claimed_ctx is not set as valid value. Then scn, ol_sc can't be freed through hif_disable_bus as usual. To fix this memory leak, free scn, ol_sc in hif_sdio_close. Change-Id: I96b9b7c86ea6e84a32eec1c57c27ef042673e2e1 CRs-Fixed: 2131452