Skip to content

Commit

Permalink
parse: restore npp->current.route to NULL
Browse files Browse the repository at this point in the history
Coverity ID: 398340
  • Loading branch information
daniloegea committed Aug 15, 2023
1 parent 244504b commit 715fefb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2097,6 +2097,7 @@ handle_routes(NetplanParser* npp, yaml_node_t* node, __unused const void* _, GEr

err:
route_clear(&npp->current.route);
npp->current.route = NULL;
return FALSE;
}

Expand Down

0 comments on commit 715fefb

Please sign in to comment.