diff options
Diffstat (limited to 'tests/perf/perf.c')
-rw-r--r-- | tests/perf/perf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/perf/perf.c b/tests/perf/perf.c index da1eb93..37591cb 100644 --- a/tests/perf/perf.c +++ b/tests/perf/perf.c @@ -580,6 +580,9 @@ test_dup_siblings_to_empty(struct test_state *state, struct timespec *ts_start, TEST_END(ts_end); + /* need to remove the duplicated nodes if the test is repeated */ + lyd_free_siblings(lyd_child(state->data1)); + return LY_SUCCESS; } |