Fix some small memory leaks (GUI)

This commit is contained in:
Robin Gareus 2018-01-27 15:44:59 +01:00
parent 48c1a24284
commit ccddc0db3a
2 changed files with 3 additions and 0 deletions

View File

@ -1397,6 +1397,8 @@ AudioRegionView::add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *ev, b
trackview.editor ().commit_reversible_command ();
trackview.session ()->set_dirty ();
} else {
delete region_memento;
}
}

View File

@ -204,6 +204,7 @@ StepEditor::check_step_edit ()
step_add_note (buf[0] & 0xf, buf[1], buf[2], Temporal::Beats());
}
}
delete [] buf;
}
int