REVIEW: Memory Leak - ModelRegistry
262,144 bytes in 1 blocks are indirectly lost
This commit is contained in:
parent
10ffa82ea6
commit
39b83cdb51
@ -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);
|
res = registry->readImageImplementation(absFileName, opt);
|
||||||
|
|
||||||
if (!res.success()) {
|
if (!res.success()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user