commit | 4f9da5eb6ed2a18fb84e812e21b9737d76561cda | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Mar 14 13:11:26 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Mar 14 13:11:26 2022 +0100 |
tree | 3678c05707da5428f78e86bc1060024d4970a117 | |
parent | e313c38ba25880a5b9ad5da2553cb516bf4843bd [diff] [blame] |
tree schema BUGFIX unlinking derived identities on error Fixes #1808
diff --git a/src/context.c b/src/context.c index 15043d3..7fb58df 100644 --- a/src/context.c +++ b/src/context.c
@@ -1251,7 +1251,7 @@ lysc_module_free(mod->compiled); mod->compiled = NULL; } - lys_module_free(ctx->list.objs[ctx->list.count - 1]); + lys_module_free(ctx->list.objs[ctx->list.count - 1], 0); } free(ctx->list.objs);