REVIEW: Memory Leak - ModelRegistry

262,144 bytes in 1 blocks are indirectly lost
This commit is contained in:
Scott Giese 2020-08-22 15:09:46 -05:00
parent 10ffa82ea6
commit 39b83cdb51

View File

@ -545,6 +545,8 @@ ModelRegistry::readImage(const string& fileName,
}
}
// REVIEW: Memory Leak - 262,144 bytes in 1 blocks are indirectly lost
// The leak occurs with OSG, but may be related to opt being a raw pointer
res = registry->readImageImplementation(absFileName, opt);
if (!res.success()) {