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.h
diff --git
a/plugins/ctf/common/metadata/ctf-meta.h
b/plugins/ctf/common/metadata/ctf-meta.h
index cb84d77866031777a4dda929b5643058ac4ad26a..481a3b6c6206c38121b6c843baef0746454f0894 100644
(file)
--- a/
plugins/ctf/common/metadata/ctf-meta.h
+++ b/
plugins/ctf/common/metadata/ctf-meta.h
@@
-1108,7
+1108,8
@@
void ctf_field_class_int_copy_content(
dst_fc->is_signed = src_fc->is_signed;
dst_fc->disp_base = src_fc->disp_base;
dst_fc->encoding = src_fc->encoding;
dst_fc->is_signed = src_fc->is_signed;
dst_fc->disp_base = src_fc->disp_base;
dst_fc->encoding = src_fc->encoding;
- dst_fc->mapped_clock_class = bt_object_get_ref(src_fc->mapped_clock_class);
+ dst_fc->mapped_clock_class = src_fc->mapped_clock_class;
+ bt_object_get_ref(dst_fc->mapped_clock_class);
dst_fc->storing_index = src_fc->storing_index;
}
dst_fc->storing_index = src_fc->storing_index;
}
This page took
0.025655 seconds
and
4
git commands to generate.