/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2016, Olivier MATZ <zer0@droids-corp.org>
+ * Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
*/
#include <stdio.h>
/* it matches an empty strvec, no need to continue */
if (ret == 0) {
child_parsed = ec_parsed_get_last_child(state);
- ec_parsed_del_child(state, child_parsed);
+ ec_parsed_unlink_child(state, child_parsed);
ec_parsed_free(child_parsed);
break;
}