[RFC] coverity/71508: Fix potential null dereference.

Make sure feature pointer is not null before dereferencing.