From 70996764ff14d6f6d0710a8a45e23a907a0900f9 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 20 Mar 2015 20:39:27 -0400 Subject: [PATCH] Fix: ir: bt_ctf_field_copy(): copy payload_set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- formats/ctf/ir/event-fields.c | 1 + 1 file changed, 1 insertion(+) diff --git a/formats/ctf/ir/event-fields.c b/formats/ctf/ir/event-fields.c index 80a6655b..f524d5db 100644 --- a/formats/ctf/ir/event-fields.c +++ b/formats/ctf/ir/event-fields.c @@ -1073,6 +1073,7 @@ struct bt_ctf_field *bt_ctf_field_copy(struct bt_ctf_field *field) goto end; } + copy->payload_set = field->payload_set; ret = field_copy_funcs[type_id](field, copy); if (ret) { bt_ctf_field_put(copy); -- 2.34.1