Slightly speculative since the bug isn't reliably reproduceable, but qof_class_get_property can silently return nullptr so it's wise to make sure that we have a ptr before trying to dereference it.