From da985f982d63b06db8784199105f73bc0a4d6fc6 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 15 Apr 2015 19:45:07 +0000 Subject: MirandaG15: - minor bugfixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp') diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp index e2680a364f..c5fecce751 100644 --- a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp +++ b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp @@ -183,7 +183,7 @@ void CLCDLabel::UpdateCutOffIndex() m_vLines.push_back(m_strText.substr(i,iMaxChars)); i += iMaxChars; } - free(piExtents); + delete[] piExtents; } else m_vLines.push_back(m_strText); @@ -206,7 +206,7 @@ void CLCDLabel::UpdateCutOffIndex() } (*--m_vLines.end()) = (*--m_vLines.end()).substr(0,iMaxChars) + _T("..."); } - free(piWidths); + delete[] piWidths; DeleteObject(hDC); -- cgit v1.2.3