Fix a sizeof(thing*) vs sizeof(thing) error

For shame!
Make the static analyzer happier