diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index aa59dd7cf4..752ecae254 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1427,7 +1427,7 @@ int link_save(Link *link) { link_state_to_string(link->state)); if (link->dhcp_lease) { - char *lease_file; + _cleanup_free_ char *lease_file = NULL; r = asprintf(&lease_file, "/run/systemd/network/leases/%"PRIu64, link->ifindex); |