introspect: handle NULL result from info updates

This commit is contained in:
Wim Taymans 2022-10-27 20:03:57 +02:00
parent 552d4516b6
commit d2aa240767
3 changed files with 32 additions and 8 deletions

View file

@ -485,6 +485,8 @@ static void node_event_info(void *object, const struct pw_node_info *info)
uint32_t i;
info = g->info = pw_node_info_merge(g->info, info, g->changed == 0);
if (info == NULL)
return;
pw_log_debug("update %d %"PRIu64, g->id, info->change_mask);