summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-10-20 12:48:41 +0200
committerDavid Tardon <dtardon@redhat.com>2010-10-20 12:48:41 +0200
commit095a86394e4a0ebc956d6c1742b2f5a9ed7676ab (patch)
tree36eae7c7a5375f7a65127e08ba8dc0e650ecc32d /editeng/source
parentf0fbd8e821571d548d46d89fe9516b25ee93753f (diff)
fix delete/delete[] mismatch
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/editeng/impedit5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index 77a26b0e1f..8709b197c1 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -899,7 +899,7 @@ ImplIMEInfos::~ImplIMEInfos()
void ImplIMEInfos::CopyAttribs( const USHORT* pA, USHORT nL )
{
nLen = nL;
- delete pAttribs;
+ delete[] pAttribs;
pAttribs = new USHORT[ nL ];
memcpy( pAttribs, pA, nL*sizeof(USHORT) );
}