mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-05 04:20:44 +02:00
ifcfg-rh: fix memleak in devtimeout_from_file()
(cherry picked from commit 9dddb4a918)
This commit is contained in:
parent
86382deed4
commit
cd5ba675ac
1 changed files with 2 additions and 0 deletions
|
|
@ -4897,5 +4897,7 @@ devtimeout_from_file (const char *filename)
|
|||
} else
|
||||
devtimeout = 0;
|
||||
|
||||
svCloseFile (ifcfg);
|
||||
|
||||
return devtimeout;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue