Fixed directory memory leak.

This commit is contained in:
richard 2009-10-26 01:42:15 +01:00
parent 7833615363
commit b856e69223

View File

@ -148,6 +148,8 @@ ModelsLoad()
modelfilecount++;
}
CloseHandle(modeldir);
// Increment variable if model files are valid.
if (modelfilecount)
{