commit | 2d31ea71a0a3f5befde121600bd754aa0b450666 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Oct 25 15:46:42 2018 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Oct 25 15:46:42 2018 +0200 |
tree | 1904d83e51401177a3fea61681493ed2d7df3063 | |
parent | d33273dea4c2be1596da83c8450b32b946fcf3da [diff] [blame] |
test CHANGE enhance schema tests
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c index 6657702..fb712bc 100644 --- a/src/tree_schema_helpers.c +++ b/src/tree_schema_helpers.c
@@ -164,6 +164,8 @@ ++inc->submodule->refcount; free(submod); } + } else { + ++inc->submodule->refcount; } if (!inc->submodule) { if (ly_errcode(ctx->ctx) != LY_EVALID) {