Merging upstream version 3.4.2+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
511f72b68b
commit
948b3e00b3
75 changed files with 1082 additions and 878 deletions
|
@ -768,7 +768,7 @@ lys_parse_localfile(struct ly_ctx *ctx, const char *name, const char *revision,
|
|||
{
|
||||
struct ly_in *in;
|
||||
char *filepath = NULL;
|
||||
LYS_INFORMAT format;
|
||||
LYS_INFORMAT format = 0;
|
||||
void *mod = NULL;
|
||||
LY_ERR ret = LY_SUCCESS;
|
||||
struct lysp_load_module_check_data check_data = {0};
|
||||
|
@ -1829,7 +1829,7 @@ lysc_node_lref_target(const struct lysc_node *node)
|
|||
|
||||
/* get the target node */
|
||||
target = p[LY_ARRAY_COUNT(p) - 1].node;
|
||||
ly_path_free(node->module->ctx, p);
|
||||
ly_path_free(p);
|
||||
|
||||
return target;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue