1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +03:00

network-internal: initialize _cleanup_ variable

This commit is contained in:
Tom Gundersen 2014-06-29 22:26:06 +02:00
parent 31db01208b
commit 69f08c8338

View File

@ -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) { FOREACH_WORD(word, len, string, state) {
/* WORD FORMAT: dst_ip/dst_prefixlen,gw_ip */ /* WORD FORMAT: dst_ip/dst_prefixlen,gw_ip */
_cleanup_free_ char* entry; _cleanup_free_ char* entry = NULL;
char *tok, *tok_end; char *tok, *tok_end;
unsigned n; unsigned n;
int r; int r;