mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed a file descriptor leak
This commit is contained in:
parent
c47c6572da
commit
034a926bc9
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ end
|
|||
|
||||
function files.loadCFG(fileName, idExpr, fileCreate)
|
||||
local functionStart = et.trap_Milliseconds()
|
||||
local fileString = files.open(fileName, et.FS_READ, fileCreate)
|
||||
local fileString = files.open(fileName, et.FS_READ, fileCreate).."\n\n"
|
||||
|
||||
et.trap_FS_FCloseFile(fileDescriptor)
|
||||
|
||||
local arrayCount = 0
|
||||
local array = {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue