summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
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 )