Fix a leak / potential crash
This commit is contained in:
parent
fad905e7e0
commit
1492de4391
@ -124,7 +124,7 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
SGPropertyNode* props = new SGPropertyNode;
|
||||
SGPropertyNode_ptr props = new SGPropertyNode;
|
||||
|
||||
try {
|
||||
readProperties(m_buffer.data(), m_buffer.size(), props);
|
||||
|
Loading…
Reference in New Issue
Block a user