Don't copy a naked pointer in the copy constructor, to prevent a double delete.
git-svn-id: svn://localhost/ardour2/trunk@2586 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
56ab60f163
commit
48b685dad1
@ -86,7 +86,7 @@ RegionView::RegionView (const RegionView& other)
|
||||
/* derived concrete type will call init () */
|
||||
|
||||
_region = other._region;
|
||||
editor = other.editor;
|
||||
editor = 0;
|
||||
current_visible_sync_position = other.current_visible_sync_position;
|
||||
valid = false;
|
||||
_enable_display = false;
|
||||
|
Loading…
Reference in New Issue
Block a user