Fix some small memory leaks (GUI)
This commit is contained in:
parent
48c1a24284
commit
ccddc0db3a
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -204,6 +204,7 @@ StepEditor::check_step_edit ()
|
||||
step_add_note (buf[0] & 0xf, buf[1], buf[2], Temporal::Beats());
|
||||
}
|
||||
}
|
||||
delete [] buf;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user