From e1b82caeb9821e7724580574382a63f4ece77e3d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 12 Jun 2014 02:10:37 +0200 Subject: delayline: properly hand-over the shared-pointer. --- libs/ardour/delayline.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/delayline.cc') diff --git a/libs/ardour/delayline.cc b/libs/ardour/delayline.cc index 8e24fd55ec..550051f2d0 100644 --- a/libs/ardour/delayline.cc +++ b/libs/ardour/delayline.cc @@ -115,6 +115,7 @@ DelayLine::run (BufferSet& bufs, framepos_t /* start_frame */, framepos_t /* end _buf = _pending_buf; _bsiz = _pending_bsiz; _pending_bsiz = 0; + _pending_buf.reset(); } /* there may be no buffer when delay == 0. -- cgit v1.2.3