From: Jérémie Galarneau Date: Tue, 19 Jan 2016 18:39:37 +0000 (-0500) Subject: Use bt_put instead of bt_ctf_field_put as release callback X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=9aac8f729c091ddddb688038f5d417a7b1ce4259 Use bt_put instead of bt_ctf_field_put as release callback Signed-off-by: Jérémie Galarneau --- 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; }