From dc6fa6cbfe77c4df0bb714fdfeea984269885a8b Mon Sep 17 00:00:00 2001 From: Julian Bouzas Date: Wed, 30 Jun 2021 11:50:07 -0400 Subject: [PATCH] m-lua-scripting: unref value pod after adding it to control --- modules/module-lua-scripting/pod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/module-lua-scripting/pod.c b/modules/module-lua-scripting/pod.c index 206826fd..67908d08 100644 --- a/modules/module-lua-scripting/pod.c +++ b/modules/module-lua-scripting/pod.c @@ -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);