mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
context: don't free NULL properties
This commit is contained in:
parent
5a0594db35
commit
68643fd25a
1 changed files with 2 additions and 2 deletions
|
|
@ -122,8 +122,8 @@ static void registry_event_global_remove(void *object, uint32_t id)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
spa_list_remove(&g->link);
|
spa_list_remove(&g->link);
|
||||||
|
if (g->props)
|
||||||
pw_properties_free(g->props);
|
pw_properties_free(g->props);
|
||||||
|
|
||||||
if (g->destroy && g->info)
|
if (g->destroy && g->info)
|
||||||
g->destroy(g->info);
|
g->destroy(g->info);
|
||||||
free(g);
|
free(g);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue