summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 08:23:28 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-06 08:23:28 +0100
commita7d20f1e3f23a94ff2e389b815ff35b72843ab9d (patch)
treec3584370af40fb972d54d9a488c96b61dfb89c31 /transex3
parent9a1a74170116cf5c11e899047488738799eda1a7 (diff)
use proper delete operator
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/inireader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/transex3/source/inireader.cxx b/transex3/source/inireader.cxx
index 0985e788452d..1ff34fad8e95 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 )