diff --git a/Aerofoil/GpColorCursor_Win32.cpp b/Aerofoil/GpColorCursor_Win32.cpp index 17a8c39..59972e7 100644 --- a/Aerofoil/GpColorCursor_Win32.cpp +++ b/Aerofoil/GpColorCursor_Win32.cpp @@ -51,8 +51,8 @@ void GpCursor_Win32::DecRef() { m_refCount--; if (m_refCount == 0) - { + { this->~GpCursor_Win32(); - free(this); - } + free(this); + } } diff --git a/PictChecker/PictChecker.cpp b/PictChecker/PictChecker.cpp index b2ddc87..0a2350c 100644 --- a/PictChecker/PictChecker.cpp +++ b/PictChecker/PictChecker.cpp @@ -1017,7 +1017,7 @@ public: m_outputIndexStart = firstRow * m_width + firstCol; } - + bool EmitQTContent(IOStream *stream, uint32_t dataSize, bool isCompressed) override { return false;