projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: freeze event on bt_ctf_stream_append_event()
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream.c
diff --git
a/formats/ctf/ir/stream.c
b/formats/ctf/ir/stream.c
index 517a11e63e00d89fffb76f11cb76f53e32dca948..69e2fe18bb3356f2169ab48ff857f06296ed4a25 100644
(file)
--- a/
formats/ctf/ir/stream.c
+++ b/
formats/ctf/ir/stream.c
@@
-495,7
+495,8
@@
int bt_ctf_stream_append_event(struct bt_ctf_stream *stream,
goto end;
}
- /* Save the new event */
+ /* Save the new event and freeze it */
+ bt_ctf_event_freeze(event);
g_ptr_array_add(stream->events, event);
/*
This page took
0.023634 seconds
and
4
git commands to generate.