mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 01:58:01 +02:00
Previously, the `deps` variable was reused for parsing
the required and wanted dependencies of a component,
which lead to the old value allocated here:
if (wp_spa_json_object_get (json, "requires", "J", &deps, NULL)) {
being leaked when a bit later
if (wp_spa_json_object_get (json, "wants", "J", &deps, NULL)) {
succeeded.
Fix that by using two separate variables.
|
||
|---|---|---|
| .. | ||
| internal-comp-loader.c | ||
| internal-comp-loader.h | ||
| pipewire-object-mixin.c | ||
| pipewire-object-mixin.h | ||
| registry.h | ||