X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Fcommon%2Fmetadata%2Fctf-meta.h;h=4c9aacf4c48e267b2dccdb8cf5509dccadbfb224;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hp=557ba7e9b16187e4ab2c84aef5e1353d4dd9e6db;hpb=65300d60e4b4f167e5fc8f584677757ce09a3844;p=babeltrace.git diff --git a/plugins/ctf/common/metadata/ctf-meta.h b/plugins/ctf/common/metadata/ctf-meta.h index 557ba7e9..4c9aacf4 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; }