summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3d66e98)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iea05b0cad779adef251ec000e4c126493e17aff8
struct lttng_ust_type_enum *enum_type = (struct lttng_ust_type_enum *) type;
lttng_ust_destroy_type(enum_type->container_type);
struct lttng_ust_type_enum *enum_type = (struct lttng_ust_type_enum *) type;
lttng_ust_destroy_type(enum_type->container_type);
break;
}
case lttng_ust_type_array:
break;
}
case lttng_ust_type_array:
struct lttng_ust_type_array *array_type = (struct lttng_ust_type_array *) type;
lttng_ust_destroy_type(array_type->elem_type);
struct lttng_ust_type_array *array_type = (struct lttng_ust_type_array *) type;
lttng_ust_destroy_type(array_type->elem_type);
break;
}
case lttng_ust_type_sequence:
break;
}
case lttng_ust_type_sequence:
struct lttng_ust_type_sequence *sequence_type = (struct lttng_ust_type_sequence *) type;
lttng_ust_destroy_type(sequence_type->elem_type);
struct lttng_ust_type_sequence *sequence_type = (struct lttng_ust_type_sequence *) type;
lttng_ust_destroy_type(sequence_type->elem_type);
break;
}
case lttng_ust_type_struct:
break;
}
case lttng_ust_type_struct:
for (i = 0; i < struct_type->nr_fields; i++)
lttng_ust_destroy_type(struct_type->fields[i]->type);
for (i = 0; i < struct_type->nr_fields; i++)
lttng_ust_destroy_type(struct_type->fields[i]->type);