diff options
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r-- | src/network/networkd-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index cb60dfee8d..32f9140237 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -815,7 +815,7 @@ int config_parse_stacked_netdev(const char *unit, log_syntax(unit, LOG_DEBUG, filename, line, r, "NetDev '%s' specified twice, ignoring.", name); else - name = NULL; + TAKE_PTR(name); return 0; } |