]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.1.50
authorfred <fred>
Tue, 26 Mar 2002 21:50:32 +0000 (21:50 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:50:32 +0000 (21:50 +0000)
flower/string-convert.cc

index cb92d22678bddfebf191b33e07fbadc668e98a2a..86d44c88c4aa674a0198edf3e7c2f03d492006c8 100644 (file)
@@ -262,7 +262,7 @@ String_convert::char_str (char c, int n)
   char* ch_p = new char[ n ];
   memset (ch_p, c, n);
   String s ((Byte*)ch_p, n);
-  delete ch_p;
+  delete[] ch_p;
   return s;
 }