mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-29 05:26:00 +00:00
PyBullet: fix some file leaks.
This commit is contained in:
@@ -141,6 +141,7 @@ bool b3ImportMeshUtility::loadAndRegisterMeshFromFileInternal(const std::string&
|
||||
buffer.resize(0);
|
||||
}
|
||||
}
|
||||
fileIO->fileClose(fileId);
|
||||
}
|
||||
|
||||
if (buffer.size())
|
||||
|
||||
Reference in New Issue
Block a user