X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=plugins%2Fctf%2Fcommon%2Fmetadata%2Fctf-meta.h;h=481a3b6c6206c38121b6c843baef0746454f0894;hb=4b70020dc7da3a97f87be1f6a0055ae2d139542f;hp=cb84d77866031777a4dda929b5643058ac4ad26a;hpb=c2606e2f189b382e5481ebc30f6e301ee2df61f9;p=babeltrace.git diff --git a/plugins/ctf/common/metadata/ctf-meta.h b/plugins/ctf/common/metadata/ctf-meta.h index cb84d778..481a3b6c 100644 --- 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->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; }