module-rtp: unset ptp_fd or else we might close it

This commit is contained in:
Wim Taymans 2025-10-15 14:05:29 +02:00
parent f91aed5eeb
commit c40e0d1d98

View file

@ -1873,6 +1873,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
return -errno;
impl->sap_fd = -1;
impl->ptp_fd = -1;
spa_list_init(&impl->sessions);
if (args == NULL)