prima: Fix on suspecious defreferencing on Static code analysis

Added necessary NULL check to avoid dereferencing of a variable
that had NULL.

CRs-Fixed: 893694
Change-Id: Id45285dd8f6f674c6144be59b9706732c85d7018
2 files changed
tree: 864dd2a20283f5cb04cef16505931ebbb6e48f2a
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile