diff options
author | David Tardon <dtardon@redhat.com> | 2010-10-20 12:48:41 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-10-20 12:48:41 +0200 |
commit | 06f8869875e1d72e322d0d162f9d89b1d74b6b71 (patch) | |
tree | f407cbe9289b6efbde9e31a28a0f0e6e3ca77613 /editeng | |
parent | b74679e29ea519e8d4c9e5cf8471f4f366f10414 (diff) |
fix delete/delete[] mismatch
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit5.cxx | 2 |
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) ); } |