mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-15 06:50:35 +01:00
ifcfg-rh: fix memleak in devtimeout_from_file()
This commit is contained in:
parent
93223112a1
commit
9dddb4a918
1 changed files with 2 additions and 0 deletions
|
|
@ -4895,5 +4895,7 @@ devtimeout_from_file (const char *filename)
|
|||
} else
|
||||
devtimeout = 0;
|
||||
|
||||
svCloseFile (ifcfg);
|
||||
|
||||
return devtimeout;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue