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