From 9aac8f729c091ddddb688038f5d417a7b1ce4259 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 19 Jan 2016 13:39:37 -0500 Subject: [PATCH] Use bt_put instead of bt_ctf_field_put as release callback MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- formats/ctf/ir/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/ctf/ir/stream.c b/formats/ctf/ir/stream.c index 6a6a3a77..84917140 100644 --- a/formats/ctf/ir/stream.c +++ b/formats/ctf/ir/stream.c @@ -298,7 +298,7 @@ struct bt_ctf_stream *bt_ctf_stream_create( } if (stream_class->event_context_type) { stream->event_contexts = g_ptr_array_new_with_free_func( - (GDestroyNotify) bt_ctf_field_put); + (GDestroyNotify) bt_put); if (!stream->event_contexts) { goto error; } -- 2.34.1