mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-15 05:30:33 +01:00
m-lua-scripting: unref value pod after adding it to control
This commit is contained in:
parent
888d6e5033
commit
dc6fa6cbfe
1 changed files with 1 additions and 0 deletions
|
|
@ -787,6 +787,7 @@ spa_pod_sequence_new (lua_State *L)
|
|||
if (type_name && value) {
|
||||
wp_spa_pod_builder_add_control (builder, offset, type_name);
|
||||
wp_spa_pod_builder_add_pod (builder, value);
|
||||
wp_spa_pod_unref (value);
|
||||
}
|
||||
|
||||
lua_pop(L, 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue