Utility/Buffer: Fix Destroy() not really destroying buffer

This commit is contained in:
Jérôme Leclercq
2017-11-08 14:35:11 +01:00
parent a8651846ae
commit e627be3f72

View File

@@ -72,7 +72,7 @@ namespace Nz
void Buffer::Destroy()
{
if (!m_impl)
if (m_impl)
{
OnBufferDestroy(this);