Fixed directory memory leak.
This commit is contained in:
parent
7833615363
commit
b856e69223
@ -148,6 +148,8 @@ ModelsLoad()
|
||||
modelfilecount++;
|
||||
}
|
||||
|
||||
CloseHandle(modeldir);
|
||||
|
||||
// Increment variable if model files are valid.
|
||||
if (modelfilecount)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user