From 2af74885551ef5914ada8dab537041737bea3db2 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 14 Apr 2015 20:37:47 +0000 Subject: minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/bandctrlimpl.cpp | 2 +- plugins/HistoryStats/src/dlgoption_subglobal.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/HistoryStats') diff --git a/plugins/HistoryStats/src/bandctrlimpl.cpp b/plugins/HistoryStats/src/bandctrlimpl.cpp index 6f6fbe038c..2bbd98263f 100644 --- a/plugins/HistoryStats/src/bandctrlimpl.cpp +++ b/plugins/HistoryStats/src/bandctrlimpl.cpp @@ -441,7 +441,7 @@ HICON BandCtrlImpl::convertToGray(HICON hIcon) hIconDisabled = CreateIconIndirect(&ii); } - delete pBits; + delete[] pBits; } DeleteObject(ii.hbmColor); diff --git a/plugins/HistoryStats/src/dlgoption_subglobal.cpp b/plugins/HistoryStats/src/dlgoption_subglobal.cpp index 6ea0d7944c..a68e661e77 100644 --- a/plugins/HistoryStats/src/dlgoption_subglobal.cpp +++ b/plugins/HistoryStats/src/dlgoption_subglobal.cpp @@ -104,7 +104,7 @@ INT_PTR CALLBACK DlgOption::SubGlobal::staticInfoProc(HWND hDlg, UINT msg, WPARA } } - delete szTitle; + delete[] szTitle; } return TRUE; } -- cgit v1.2.3