Fix to initialize pointer before usage
Fix to initialize pointer before usage

Resolves: LE-7519
Change-Id: I913253084a0ef735a39de58fcb20f4ba20c2034d

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