changeset 10 | 4530440261a8 |
parent 0 | 84ad3b177aa3 |
--- a/browserplugins/browsersysteminfoplugin/src/SystemInfoPlugin.cpp Fri Jul 03 15:46:41 2009 +0100 +++ b/browserplugins/browsersysteminfoplugin/src/SystemInfoPlugin.cpp Thu Aug 27 07:42:55 2009 +0300 @@ -611,7 +611,7 @@ { char* newString = NULL; if (string.Length()) { - newString = new char(string.Length()); + newString = new char[string.Length()]; } if (newString) { Mem::Copy(newString, string.Ptr(), string.Length());