projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: bt_object_{get,put}_ref(): accept a `const` parameter
[babeltrace.git]
/
plugins
/
ctf
/
common
/
metadata
/
ctf-meta-update-default-clock-classes.c
diff --git
a/plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.c
b/plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.c
index f2e48aae8fa081e2c072e02206638324f3380314..01d949466287b5652dd5ba8b1bc821420a4381cf 100644
(file)
--- a/
plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.c
+++ b/
plugins/ctf/common/metadata/ctf-meta-update-default-clock-classes.c
@@
-164,7
+164,8
@@
int update_stream_class_default_clock_class(
}
if (!stream_class->default_clock_class) {
}
if (!stream_class->default_clock_class) {
- stream_class->default_clock_class = bt_object_get_ref(clock_class);
+ stream_class->default_clock_class = clock_class;
+ bt_object_get_ref(stream_class->default_clock_class);
}
end:
}
end:
This page took
0.023152 seconds
and
4
git commands to generate.