summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJeff Johnson <jjohnson@codeaurora.org>2018-03-30 09:08:11 -0700
committerJeff Johnson <jjohnson@codeaurora.org>2018-03-30 09:16:02 -0700
commitda35d4db25067b19c4a56a8e2e40c153833d30fb (patch)
tree30dbeed3dde6a01be76712d2b2115084e0bfa723 /scripts
parentc220dd963bd2ba7044c572bfc526c143656053b9 (diff)
qcacld-3.0: Avoid double free in drv_cmd_get_ibss_peer_info_all()
Change "qcacld-3.0: Fix memory leak issues in HDD" (Change-Id: Iae551cd3acbb6bc2618f05cfdc33e4f742d63192) added logic to drv_cmd_get_ibss_peer_info_all() to free the dynamically-allocated buffer "extra" when either of the copy_to_user() calls failed. Unfortunately this introduced a regression since now in the success case the "extra" buffer is freed twice. Update drv_cmd_get_ibss_peer_info_all() to remove the now unnecessary call to qdf_mem_free() in the success case. Change-Id: I7f8c17cd7576bf05ac8b6c4d6658ac40cb55782a CRs-Fixed: 2215443
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions