schema compile BUGFIX check return value of lys_parse_nodeid() when resolving uses
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index a91af18..c7ef5b7 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -4290,7 +4290,7 @@
/* search for the grouping definition */
found = 0;
id = uses_p->name;
- lys_parse_nodeid(&id, &prefix, &prefix_len, &name, &name_len);
+ LY_CHECK_RET(lys_parse_nodeid(&id, &prefix, &prefix_len, &name, &name_len), LY_EVALID);
if (prefix) {
mod = lys_module_find_prefix(ctx->mod_def, prefix, prefix_len);
if (!mod) {