mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
networkd: network - fix leak
This commit is contained in:
parent
86e6e5d1b4
commit
31d0ac36c6
@ -257,7 +257,8 @@ int config_parse_netdev(const char *unit,
|
||||
void *data,
|
||||
void *userdata) {
|
||||
Network *network = userdata;
|
||||
char *kind_string, *p;
|
||||
_cleanup_free_ char *kind_string = NULL;
|
||||
char *p;
|
||||
NetDev *netdev;
|
||||
NetDevKind kind;
|
||||
int r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user