From: Han-Wen Nienhuys Date: Tue, 9 Sep 2008 15:42:06 +0000 (-0300) Subject: Match realloc/free with malloc rather than new. X-Git-Tag: release/2.11.58-1~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b3e7bc3a6fd47b2fa6d97ceb8ffb42ad20dd9057;p=lilypond.git Match realloc/free with malloc rather than new. --- diff --git a/lily/pfb.cc b/lily/pfb.cc index 3cee206189..438fe78497 100644 --- a/lily/pfb.cc +++ b/lily/pfb.cc @@ -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;