summaryrefslogtreecommitdiff
path: root/libs/ardour/session_events.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-07 03:17:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-07 03:17:18 +0000
commit78cef3909f08a413aa6230859d7032e60ca0db3d (patch)
tree4791932fde3b0a23a2cefe8a55ccda2d20b88f22 /libs/ardour/session_events.cc
parent9bf486457f20d85d0a08570a172853b995abc2ab (diff)
autoplay mode and other tweaks to the import dialog; fix resource management while auditioning
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2427 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r--libs/ardour/session_events.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc
index e93a7a5f17..d736784396 100644
--- a/libs/ardour/session_events.cc
+++ b/libs/ardour/session_events.cc
@@ -406,6 +406,8 @@ Session::process_event (Event* ev)
case Event::Audition:
set_audition (ev->region);
+ // drop reference to region
+ ev->region.reset ();
break;
case Event::InputConfigurationChange: