diff --git a/source/source/SimpleCapture.cpp b/source/source/SimpleCapture.cpp index 9fe28b3..1ba946e 100644 --- a/source/source/SimpleCapture.cpp +++ b/source/source/SimpleCapture.cpp @@ -183,7 +183,7 @@ SimpleCapture::SimpleCapture( char* charwindowText = new char[(int)(Length + 1)]; GetWindowTextA(m_clientHwnd, charwindowText, (Length + 1)); m_windowText = charwindowText + std::string(" : "); - delete charwindowText; + delete[] charwindowText; } //