Skip to content

Commit

Permalink
ctest:utils: adopt to netplan_error_clear rename
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Jan 19, 2023
1 parent 892ac81 commit f6374fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ctests/test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ load_string_to_netplan_state(const char* yaml)
process_document(npp, error);

if (error && *error) {
netplan_error_free(*error);
netplan_error_clear(error);
} else {
np_state = netplan_state_new();
netplan_state_import_parser_results(np_state, npp, error);
Expand Down

0 comments on commit f6374fb

Please sign in to comment.