mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 07:48:01 +02:00
daemon: remove redundant calls to component_data_free()
The component data pointer in this function is wrapped in g_autoptr, so this should happen automatically
This commit is contained in:
parent
0fed249eb9
commit
51d5beb36c
1 changed files with 0 additions and 4 deletions
|
|
@ -270,7 +270,6 @@ append_json_components (GList **list, WpSpaJson *json)
|
|||
"type", "s", &comp->type,
|
||||
NULL)) {
|
||||
wp_warning ("component must have both a 'name' and a 'type'");
|
||||
component_data_free (comp);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -286,7 +285,6 @@ append_json_components (GList **list, WpSpaJson *json)
|
|||
} else {
|
||||
wp_warning ("skipping component %s as its 'deps' is not a JSON array",
|
||||
comp->name);
|
||||
component_data_free (comp);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +310,6 @@ append_json_components (GList **list, WpSpaJson *json)
|
|||
} else {
|
||||
wp_warning ("skipping component %s as its 'flags' is not a JSON array",
|
||||
comp->name);
|
||||
component_data_free (comp);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
@ -327,7 +324,6 @@ append_json_components (GList **list, WpSpaJson *json)
|
|||
} else {
|
||||
wp_debug ("ignoring component '%s' as it is already defined previously",
|
||||
comp->name);
|
||||
component_data_free (comp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue