Check null pointer before usage
Check null pointer before usage

Resolves: LE-7861
Change-Id: I85fb400588b587a85372771efb9b7ccf7d3b64a1

legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af