Fix a leak / potential crash

This commit is contained in:
James Turner 2016-06-06 11:36:47 +01:00
parent fad905e7e0
commit 1492de4391

View File

@ -124,7 +124,7 @@ protected:
return; return;
} }
SGPropertyNode* props = new SGPropertyNode; SGPropertyNode_ptr props = new SGPropertyNode;
try { try {
readProperties(m_buffer.data(), m_buffer.size(), props); readProperties(m_buffer.data(), m_buffer.size(), props);