From 55db679ec30ab9f1f542dd9466e10c8849513540 Mon Sep 17 00:00:00 2001 From: ws Date: Mon, 5 Nov 2018 10:29:06 +0100 Subject: [PATCH] fix memory leak in layout --- libmscore/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmscore/layout.cpp b/libmscore/layout.cpp index f8bba8f808..3e624fb1e7 100644 --- a/libmscore/layout.cpp +++ b/libmscore/layout.cpp @@ -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());