mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 21:09:27 -06:00
Remove 1500+ memory leaks in OpenSpace and Ghoul
This commit is contained in:
@@ -63,6 +63,7 @@ SceneGraphNode* SceneGraphNode::createFromDictionary(const ghoul::Dictionary& di
|
||||
|
||||
if (!dictionary.hasValue<std::string>(KeyName)) {
|
||||
LERROR("SceneGraphNode did not contain a '" << KeyName << "' key");
|
||||
delete result;
|
||||
return nullptr;
|
||||
}
|
||||
std::string name;
|
||||
|
||||
Reference in New Issue
Block a user