commit | 16dc4f3125878b9c40e8b248fe0ca1c77bf6da39 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 09 09:43:50 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 09 09:43:50 2016 +0100 |
tree | 6033e3bc41c6aefdaa160364e47f2282da6b3b35 | |
parent | f0dda71c15c2c3e45d80572b982e09a2f8f0a253 [diff] [blame] |
resolve BUGFIX if leafref/instid leaves are changed, resolve them again Fixes #218
diff --git a/src/resolve.c b/src/resolve.c index 26247c6..98c1a77 100644 --- a/src/resolve.c +++ b/src/resolve.c
@@ -6783,6 +6783,7 @@ assert(type->base == LY_TYPE_LEAFREF); /* init */ + leaf->value.leafref = NULL; memset(&matches, 0, sizeof matches); /* EXIT_FAILURE return keeps leaf->value.lefref NULL, handled later */