mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
udevd: net - fix leak in .link config
Path, Driver and Type are now strv rather than strings, so free them properly.
This commit is contained in:
parent
35927d13df
commit
43d60b77a8
@ -67,9 +67,9 @@ static void link_config_free(link_config *link) {
|
|||||||
free(link->filename);
|
free(link->filename);
|
||||||
|
|
||||||
free(link->match_mac);
|
free(link->match_mac);
|
||||||
free(link->match_path);
|
strv_free(link->match_path);
|
||||||
free(link->match_driver);
|
strv_free(link->match_driver);
|
||||||
free(link->match_type);
|
strv_free(link->match_type);
|
||||||
free(link->match_name);
|
free(link->match_name);
|
||||||
free(link->match_host);
|
free(link->match_host);
|
||||||
free(link->match_virt);
|
free(link->match_virt);
|
||||||
|
Loading…
Reference in New Issue
Block a user