msm: ADSPRPC: Null check for file session context during release

While releasing the device, check if the file session context is NULL
to make sure we are not dereferencing it during file free.

Change-Id: I310271189cf710b81c5182b936189fd57ddedd7b
Acked-by: Vishnu Karthik <vikarthi@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
1 file changed