diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/HistoryStats/src/bandctrlimpl.cpp | 2 | ||||
-rw-r--r-- | plugins/HistoryStats/src/dlgoption_subglobal.cpp | 2 |
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;
}
|