fix memory leak in layout

This commit is contained in:
ws 2018-11-05 10:29:06 +01:00
parent cbeb02b3fa
commit 55db679ec3

View file

@ -3811,7 +3811,7 @@ void Score::doLayoutRange(int stick, int etick)
if (mb->isMeasure() && toMeasure(mb)->mmRest())
toMeasure(mb)->mmRest()->setSystem(0);
}
// qDeleteAll(_systems);
qDeleteAll(_systems);
_systems.clear();
qDeleteAll(pages());