X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord.cc;h=8fa7611e55d49aef2194a453789f8cc4d54ef736;hb=c52973e438ce3490d688860bb71849a7b3c26fef;hp=cd4e3e0d876187b2122d50fcf837b39207cc60b6;hpb=07dc00d6c83be5b05f5ec16f1ed36b1cf41b885c;p=lilypond.git diff --git a/lily/chord.cc b/lily/chord.cc index cd4e3e0d87..8fa7611e55 100644 --- a/lily/chord.cc +++ b/lily/chord.cc @@ -14,6 +14,10 @@ #include "paper-def.hh" #include "lookup.hh" +/* + FIXME: should use SCM iso. arrays and have-to-delete pointers. + */ + /* construct from parser output @@ -211,13 +215,11 @@ Chord::Chord (Array pitch_arr, Musical_pitch* inversion_p, Musica { inversion_pitch_ = *inversion_p; inversion_b_ = true; - delete inversion_p; } if (bass_p) { bass_pitch_ = *bass_p; bass_b_ = true; - delete bass_p; } }