mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
introspect: fix profiles free
This commit is contained in:
parent
96205687c5
commit
3d34acd2f2
1 changed files with 2 additions and 2 deletions
|
|
@ -205,12 +205,12 @@ static void client_destroy(void *data)
|
|||
static void device_destroy(void *data)
|
||||
{
|
||||
struct global *global = data;
|
||||
struct spa_pod *profile;
|
||||
struct spa_pod **profile;
|
||||
|
||||
if (global->card_info.info.proplist)
|
||||
pa_proplist_free(global->card_info.info.proplist);
|
||||
pw_array_for_each(profile, &global->card_info.profiles)
|
||||
free(profile);
|
||||
free(*profile);
|
||||
pw_array_clear(&global->card_info.profiles);
|
||||
if (global->info)
|
||||
pw_device_info_free(global->info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue