From c68eb59017053787508ef52a7d9dea5e3612a5e9 Mon Sep 17 00:00:00 2001 From: Julian Bouzas Date: Tue, 28 Oct 2025 09:35:53 -0400 Subject: [PATCH] device: Copy the props instead of wrapping them before emitting create-device signal This allows the signal handlers to have full control of the properties. --- lib/wp/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wp/device.c b/lib/wp/device.c index 3e71ed98..f94d4291 100644 --- a/lib/wp/device.c +++ b/lib/wp/device.c @@ -438,7 +438,7 @@ spa_device_event_object_info (void *data, uint32_t id, g_autoptr (WpProperties) props = NULL; type = spa_debug_type_short_name (info->type); - props = wp_properties_new_wrap_dict (info->props); + props = wp_properties_new_copy_dict (info->props); wp_debug_object (self, "object info: id:%u type:%s factory:%s", id, type, info->factory_name);