X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpfb.cc;h=bca2bf1c210cd3df20fdfe2c9188ec872a4c2f10;hb=a77737811657427f9037db99ebaf091ae66d6fc9;hp=3cee20618921fe8870ca7c2c3437476159be2f29;hpb=e9a308e9c6002900fc336733950a0175bcbcc333;p=lilypond.git diff --git a/lily/pfb.cc b/lily/pfb.cc index 3cee206189..bca2bf1c21 100644 --- a/lily/pfb.cc +++ b/lily/pfb.cc @@ -1,9 +1,20 @@ /* - pfb.cc -- implement pfb conversion. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2010 Han-Wen Nienhuys - (c) 2004--2007 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include @@ -21,7 +32,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;