Attempt to fix the memory leak mentioned in https://github.com/jbeder/yaml-cpp/issues/691

This commit is contained in:
Carmeli Tamir 2019-10-14 20:17:36 -04:00
parent 52a1378e48
commit b489071a22

View File

@ -10,7 +10,6 @@ void memory_holder::merge(memory_holder& rhs) {
return;
m_pMemory->merge(*rhs.m_pMemory);
rhs.m_pMemory = m_pMemory;
}
node& memory::create_node() {