CDATA Encode and decode (parsing) support

This commit is contained in:
Olof hagsand 2018-06-13 22:55:46 +02:00
parent 8b31d83806
commit 9eff879458
6 changed files with 61 additions and 16 deletions

View file

@ -1261,7 +1261,11 @@ ys_populate_identity(yang_stmt *ys,
}
/* add prefix */
cv_name_set(cv, idref);
cvec_append_var(ybaseid->ys_cvec, cv);
cvec_append_var(ybaseid->ys_cvec, cv); /* cv copied */
if (cv){
cv_free(cv);
cv = NULL;
}
/* Transitive to the root */
if (ys_populate_identity(ybaseid, idref) < 0)
goto done;