projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lock stream class after assigning stream id
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream.c
diff --git
a/formats/ctf/ir/stream.c
b/formats/ctf/ir/stream.c
index d291981eaace2fe1eb9fd16070755b5ee3d2fcac..6a71466ca3a60022a178b684b43508e4bed6a5be 100644
(file)
--- a/
formats/ctf/ir/stream.c
+++ b/
formats/ctf/ir/stream.c
@@
-296,7
+296,6
@@
struct bt_ctf_stream *bt_ctf_stream_create(
stream->id = stream_class->next_stream_id++;
stream->stream_class = stream_class;
bt_ctf_stream_class_get(stream_class);
stream->id = stream_class->next_stream_id++;
stream->stream_class = stream_class;
bt_ctf_stream_class_get(stream_class);
- bt_ctf_stream_class_freeze(stream_class);
stream->events = g_ptr_array_new_with_free_func(
(GDestroyNotify) bt_ctf_event_put);
if (!stream->events) {
stream->events = g_ptr_array_new_with_free_func(
(GDestroyNotify) bt_ctf_event_put);
if (!stream->events) {
This page took
0.034948 seconds
and
4
git commands to generate.