tree schema free BUGFIX nesting error
@@ -1204,6 +1204,7 @@ lyplg_ext_instance_substatements_free(struct ly_ctx *ctx, struct lysc_ext_substm
FREE_ARRAY(ctx, iff, lysc_iffeature_free);
}
break;
+ }
case LY_STMT_TYPE:
if (substmts[u].cardinality < LY_STMT_CARD_SOME) {
/* single item */
@@ -1223,7 +1224,6 @@ lyplg_ext_instance_substatements_free(struct ly_ctx *ctx, struct lysc_ext_substm
FREE_ARRAY(ctx, types, lysc_type2_free);
}
break;
- }
/* TODO other statements */
default:
