mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
module-avb: free the right source object
This commit is contained in:
parent
a0717a1981
commit
37ac2e148e
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ void avdecc_server_free(struct server *server)
|
||||||
if (server->source)
|
if (server->source)
|
||||||
pw_loop_destroy_source(impl->loop, server->source);
|
pw_loop_destroy_source(impl->loop, server->source);
|
||||||
if (server->timer)
|
if (server->timer)
|
||||||
pw_loop_destroy_source(impl->loop, server->source);
|
pw_loop_destroy_source(impl->loop, server->timer);
|
||||||
spa_hook_list_clean(&server->listener_list);
|
spa_hook_list_clean(&server->listener_list);
|
||||||
free(server);
|
free(server);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue