commit | f4fa90dd54950bd7961081e16af3ffe45c68496f | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Nov 11 15:05:19 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Nov 11 15:05:19 2021 +0100 |
tree | cf3b61daca39646b097167b7072aea82528053a4 | |
parent | aa956520a9b5ae5a7dea785ede95cee4a65d5195 [diff] [blame] |
schema compile FEATURE disabled bits/enums unres Do not remove the values right away to allow other checks (XPath) to finish first. Fixes cesnet/netopeer2#1048
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c index 3b9dfdb..3f3d753 100644 --- a/src/tree_schema_free.c +++ b/src/tree_schema_free.c
@@ -648,7 +648,7 @@ free(*pattern); } -static void +void lysc_enum_item_free(struct ly_ctx *ctx, struct lysc_type_bitenum_item *item) { lydict_remove(ctx, item->name);