]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pfb.cc
Run `make grand-replace'.
[lilypond.git] / lily / pfb.cc
index 3cee20618921fe8870ca7c2c3437476159be2f29..e699156fc914fd109b898c2fdd9a7d53e566caea 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include <cstdlib>
@@ -21,7 +21,7 @@ using namespace std;
 char *
 pfb2pfa (Byte const *pfb, int length)
 {
-  char *out = new char[1];
+  char *out = (char*) malloc(sizeof(char));
   int olen = 0;
 
   Byte const *p = pfb;