This field is never assigned, so we crash when trying to use it.
Change-Id: Ib283031ac0f12ecfae53c7b1e77eb1b685d06791
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13396
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
goto error;
}
+ ba_fc->label_buf = g_ptr_array_new();
+ if (!ba_fc->label_buf) {
+ BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GPtrArray.");
+ goto error;
+ }
+
BT_LIB_LOGD("Created bit array field class object: %!+F", ba_fc);
goto end;