summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-04-14 20:37:47 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-04-14 20:37:47 +0000
commit2af74885551ef5914ada8dab537041737bea3db2 (patch)
tree61cee16180651e77dd84c38c0f26862b04608e70 /plugins
parent4d0735ab834be6c541e7e577fbe76c888bf4d09f (diff)
minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12828 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/HistoryStats/src/bandctrlimpl.cpp2
-rw-r--r--plugins/HistoryStats/src/dlgoption_subglobal.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}