X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpfb.cc;h=e699156fc914fd109b898c2fdd9a7d53e566caea;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=3cee20618921fe8870ca7c2c3437476159be2f29;hpb=92918346012f79ef9109ef0c391947af2d3165ca;p=lilypond.git diff --git a/lily/pfb.cc b/lily/pfb.cc index 3cee206189..e699156fc9 100644 --- a/lily/pfb.cc +++ b/lily/pfb.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2007 Han-Wen Nienhuys + (c) 2004--2008 Han-Wen Nienhuys */ #include @@ -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;