WiFi HAL: memory leak fix
authorSreenath Sharma <sreenath.sharma@broadcom.com>
Fri, 22 Apr 2016 14:48:43 +0000 (19:48 +0530)
committerPaul Stewart <pstew@google.com>
Wed, 27 Apr 2016 18:27:59 +0000 (11:27 -0700)
commit6af064b77bfdc84a6f425a7c9d0941fad11f4489
tree05b2dca29fe177ec09f17445e9a03e2e0214d327
parent931b5c3490fadeaee335d8063d87b76167bb4af9
WiFi HAL: memory leak fix

- freeing of allocated memory after use by invoking release method
- addition of NULL checking for handling allocation failures
- fixing of existing compilation warnings
- code cleanup

BUG=28274383

Change-Id: Iea00bd7dd0a7c02f551b88137cbdbf84dfd39ebb
Signed-off-by: Sreenath Sharma <sreenath.sharma@broadcom.com>
bcmdhd/wifi_hal/common.cpp
bcmdhd/wifi_hal/common.h
bcmdhd/wifi_hal/gscan.cpp
bcmdhd/wifi_hal/rtt.cpp
bcmdhd/wifi_hal/wifi_hal.cpp
bcmdhd/wifi_hal/wifi_logger.cpp
bcmdhd/wifi_hal/wifi_offload.cpp