REVIEW: Memory Leak - SGMaterial::read_properties()
61,560 bytes in 405 blocks are definitely lost
This commit is contained in:
parent
53487ae732
commit
34ca004e95
@ -412,6 +412,7 @@ SGMaterial::read_properties(const SGReaderWriterOptions* options,
|
||||
if (props->hasChild("parameters")) {
|
||||
parameters = props->getChild("parameters");
|
||||
} else {
|
||||
// REVIEW: Memory Leak - 61,560 bytes in 405 blocks are definitely lost
|
||||
parameters = new SGPropertyNode();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user