commit | 03fa8e8ed0be7aa45902e3b216b078b77bf523d5 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Aug 12 16:57:25 2020 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Aug 12 16:57:25 2020 +0200 |
tree | 53934af6352c11a3852034d0cf30fdb93b67b0d3 | |
parent | a46012b49e3d94773477ab32e3d423f0740e4be8 [diff] |
schema compile BUGFIX missing check of the function return value
diff --git a/src/path.c b/src/path.c index 2eeb7df..36bb639 100644 --- a/src/path.c +++ b/src/path.c
@@ -388,7 +388,7 @@ LOGVAL_P(ctx, cur_node, LYVE_XPATH, "Not implemented module \"%s\" in path.", (*mod)->name); return LY_EVALID; } - lys_set_implemented_internal((struct lys_module *)*mod, ctx->module_set_id); + LY_CHECK_RET(lys_set_implemented_internal((struct lys_module *)*mod, ctx->module_set_id)); } } else { switch (format) {