PyBullet: fix some file leaks.

This commit is contained in:
Erwin Coumans
2018-12-04 19:37:25 +01:00
parent a23cfd0782
commit d4db50f668
3 changed files with 4 additions and 2 deletions

View File

@@ -10244,6 +10244,7 @@ bool PhysicsServerCommandProcessor::processLoadTextureCommand(const struct Share
buffer.resize(0);
}
}
fileIO->fileClose(fileId);
}
if (buffer.size())
{