Skip to content

Commit

Permalink
fixed #22985: no delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Eism committed May 28, 2024
1 parent 7a631f3 commit 24c37c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/engraving/rw/read400/tread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2175,8 +2175,6 @@ bool TRead::readProperties(MeasureBase* b, XmlReader& e, ReadContext& ctx)
if (doAdd) {
b->add(lb);
b->cleanupLayoutBreaks(false);
} else {
delete lb;
}
} else if (tag == "StaffTypeChange") {
StaffTypeChange* stc = Factory::createStaffTypeChange(b);
Expand Down
2 changes: 0 additions & 2 deletions src/engraving/rw/read410/tread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2203,8 +2203,6 @@ bool TRead::readProperties(MeasureBase* b, XmlReader& e, ReadContext& ctx)
if (doAdd) {
b->add(lb);
b->cleanupLayoutBreaks(false);
} else {
delete lb;
}
} else if (tag == "StaffTypeChange") {
StaffTypeChange* stc = Factory::createStaffTypeChange(b);
Expand Down

0 comments on commit 24c37c4

Please sign in to comment.