commit | b74023869ef1829ca1ae20af7ebec63b12f83809 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Jan 04 12:05:06 2023 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Jan 04 12:05:06 2023 +0100 |
tree | 8dbf6a25b9c7bf643b05c6a0c35ff808ca276885 | |
parent | ccfbc102b4b6f407ac68961ba3f9d5892a94ada6 [diff] |
schema compile BUGFIX memory leak Compiled extensions of the fake container. Fixes #1963
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c index 1456288..9364554 100644 --- a/src/schema_compile_node.c +++ b/src/schema_compile_node.c
@@ -4124,6 +4124,7 @@ cleanup: lysc_node_container_free(&ctx->free_ctx, &fake_container); + FREE_ARRAY(&ctx->free_ctx, fake_container.exts, lysc_ext_instance_free); return rc; }