qcacld-3.0: Validate pointers in wma layer

Currently in different functions we are assigning memory to
pointers and using it without checking that pointers has valid
address or NULL.

Add NULL checks before pointer dereferences.

Change-Id: I43a04fc59e56261d37e657b815b214a59cdcf838
CRs-Fixed: 1095650
6 files changed
tree: 33cf0c107bbba4d4cf624dddee40e10a3964b480
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt