]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pfb.cc
Match realloc/free with malloc rather than new.
[lilypond.git] / lily / pfb.cc
index 3cee20618921fe8870ca7c2c3437476159be2f29..438fe78497e8b3ddc6c259803e87197f7b4d0053 100644 (file)
@@ -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;