diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-03 03:34:50 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-08 15:57:15 -0400 |
commit | 087c000e0dbd777e8c6e514a4403d33d68b7fa38 (patch) | |
tree | 150e2b6ff89054fbd8b9d5cb8c93b92208384602 | |
parent | 239974245d2440150db4bb2444f7d57b0bc54eb9 (diff) |
use delete[] for arrays allocated with new[]
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
-rw-r--r-- | sc/source/ui/miscdlgs/datafdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx index d8774f21a..9bec1a806 100644 --- a/sc/source/ui/miscdlgs/datafdlg.cxx +++ b/sc/source/ui/miscdlgs/datafdlg.cxx @@ -247,9 +247,9 @@ ScDataFormDlg::~ScDataFormDlg() delete pFixedTexts[i]; } if (pEdits) - delete pEdits; + delete[] pEdits; if (pFixedTexts) - delete pFixedTexts; + delete[] pFixedTexts; } void ScDataFormDlg::FillCtrls(SCROW /*nCurrentRow*/) |