diff options
author | Caolán McNamara <cmc@openoffice.org> | 2010-01-12 13:04:00 +0000 |
---|---|---|
committer | Caolán McNamara <cmc@openoffice.org> | 2010-01-12 13:04:00 +0000 |
commit | 6d62a5cf692529856b21cfa84a71fdfde75521e3 (patch) | |
tree | f051b13cd7188ea73530b1d8bbcd16705f222176 | |
parent | c7fcabef35a9ccf49a5de2c8ff1470aee77c238d (diff) |
cmcfixes69: #i108258# fix mismatch new[]/delete
-rw-r--r-- | transex3/source/inireader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transex3/source/inireader.cxx b/transex3/source/inireader.cxx index 0985e788452d..63f902a5a1da 100644 --- a/transex3/source/inireader.cxx +++ b/transex3/source/inireader.cxx @@ -120,7 +120,7 @@ void INIreader::toStlString( const UnicodeString& str , string& stl_str) char* buffer = new char[ str.length()*3 ]; str.extract( 0 , str.length() , buffer ); stl_str = string( buffer ); - delete buffer; + delete [] buffer; } void INIreader::trim( string& str ) |