Use bt_put instead of bt_ctf_field_put as release callback
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 19 Jan 2016 18:39:37 +0000 (13:39 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 19 Jan 2016 18:39:37 +0000 (13:39 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/stream.c

index 6a6a3a77f57580bc2069a3b96f7d57fdba18520d..84917140a58d727c9d5932799a48717bb503dd13 100644 (file)
@@ -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;
                }
This page took 0.024909 seconds and 4 git commands to generate.