summaryrefslogtreecommitdiff
path: root/editeng
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
commit06f8869875e1d72e322d0d162f9d89b1d74b6b71 (patch)
treef407cbe9289b6efbde9e31a28a0f0e6e3ca77613 /editeng
parentb74679e29ea519e8d4c9e5cf8471f4f366f10414 (diff)
fix delete/delete[] mismatch
Diffstat (limited to 'editeng')
-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 e3d194691902..08451cfe6b2c 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) );
}