mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
metadata: free when the global is destroyed
This commit is contained in:
parent
4dfd60f838
commit
09913ca4ab
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ static void global_resource_destroy(void *data)
|
|||
impl->metadata = NULL;
|
||||
if (impl->global)
|
||||
pw_global_destroy(impl->global);
|
||||
free(impl);
|
||||
}
|
||||
|
||||
static const struct pw_resource_events global_resource_events = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue