summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp4
1 files changed, 2 insertions, 2 deletions
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);