13
0

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:
Carl Hetherington 2007-11-04 21:01:06 +00:00
parent 56ab60f163
commit 48b685dad1

View File

@ -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;