This patch checks null before deferencing the variable. Fix Bug: #14815 Coverity CID: 196641 Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>