module-avb: fail if ptp.management-socket not set

This commit is contained in:
Nils Tonnaett 2026-04-12 17:52:37 -07:00 committed by hackerman-kl
parent f4c26cd3ed
commit bf6fae7df9
2 changed files with 11 additions and 1 deletions

View file

@ -407,6 +407,8 @@ struct server *avdecc_server_new(struct impl *impl, struct spa_dict *props)
goto error_free;
server->gptp = avb_gptp_new(server);
if (server->gptp == NULL)
goto error_free;
init_descriptors(server);