network-internal: initialize _cleanup_ variable
This commit is contained in:
parent
31db01208b
commit
69f08c8338
|
@ -465,7 +465,7 @@ int deserialize_dhcp_routes(struct sd_dhcp_route **ret, size_t *ret_size, size_t
|
|||
|
||||
FOREACH_WORD(word, len, string, state) {
|
||||
/* WORD FORMAT: dst_ip/dst_prefixlen,gw_ip */
|
||||
_cleanup_free_ char* entry;
|
||||
_cleanup_free_ char* entry = NULL;
|
||||
char *tok, *tok_end;
|
||||
unsigned n;
|
||||
int r;
|
||||
|
|
Loading…
Reference in New Issue