mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pw-cli: allocate nodes ids of the right size
This commit is contained in:
parent
08ffc507c0
commit
60742d7542
1 changed files with 1 additions and 1 deletions
|
|
@ -1742,7 +1742,7 @@ children_of(struct remote_data *rd, uint32_t parent_id,
|
||||||
if (!count)
|
if (!count)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
*children = malloc(sizeof(*children) * count);
|
*children = malloc(sizeof(uint32_t) * count);
|
||||||
if (!*children)
|
if (!*children)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue