gobject: Add a missing NULL check for the return from lookup_type_node_I()
This can cause a NULL
dereference on the next line if there is no
TypeNode
for iface_type
, for example if iface_type == G_TYPE_INVALID
.
Unlikely, but possible since this API is public.
Spotted by Coverity.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Coverity CID: #1501602