network: avoid address section freed

Otherwise, if HomeAddress= or friends are specified at the first line of
a section, then its assignment will be ignored.
This commit is contained in:
Yu Watanabe
2019-02-28 10:54:20 +09:00
parent f205a92a5c
commit 4aa4c4b0f4
+1
View File
@@ -904,6 +904,7 @@ int config_parse_address_flags(const char *unit,
else if (streq(lvalue, "AutoJoin"))
n->autojoin = r;
n = NULL;
return 0;
}