Adds missing pointer dereference
Fixes static analyzer warnings. Part 1