X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ftrace_class.py;h=615c410a89ba4ebc674615e9c6cd2a42c28fe42c;hb=b8ddb4f036272e30030202637201d11baf5f20a5;hp=ccf9f48ef519874d12fa0411c3e28565549be58a;hpb=08276dbe19219eb86ce2149cb3d8b3fcffb02435;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/trace_class.py b/src/bindings/python/bt2/bt2/trace_class.py index ccf9f48e..615c410a 100644 --- a/src/bindings/python/bt2/bt2/trace_class.py +++ b/src/bindings/python/bt2/bt2/trace_class.py @@ -430,7 +430,7 @@ class _TraceClass(_TraceClassConst): self._ptr, elem_fc._ptr, length_fc_ptr ) self._check_field_class_create_status(ptr, 'dynamic array') - fc = bt2_field_class._DynamicArrayFieldClass._create_from_ptr(ptr) + fc = bt2_field_class._create_field_class_from_ptr_and_get_ref(ptr) self._set_field_class_user_attrs(fc, user_attributes) return fc