mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2025-04-16 13:51:59 +00:00
Fixed a file descriptor leak
This commit is contained in:
parent
10fd153b0a
commit
d567d076bb
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ function files.loadFromCFG(fileName, idExpr)
|
|||
end
|
||||
|
||||
local fileString = et.trap_FS_Read(fileDescriptor, fileLength).."\n\n"
|
||||
|
||||
et.trap_FS_FCloseFile(fileDescriptor)
|
||||
|
||||
local arrayCount = 0
|
||||
local array = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue