diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/ConnectionImpl.cpp | 3 | ||||
-rw-r--r-- | src/engine/PortImpl.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp index a266a5ef..3beca4c8 100644 --- a/src/engine/ConnectionImpl.cpp +++ b/src/engine/ConnectionImpl.cpp @@ -97,7 +97,8 @@ ConnectionImpl::apply_poly(Raul::Maid& maid, uint32_t poly) // Recycle buffer if it's no longer needed if (!must_mix() && _local_buffer) - _local_buffer.reset(); + _local_buffer.reset(NULL); + //_local_buffer.reset(); // old boost is missing this } diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index ce4fedbf..62206710 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -88,7 +88,8 @@ PortImpl::PortImpl(BufferFactory& bufs, PortImpl::~PortImpl() { for (uint32_t v = 0; v < _poly; ++v) - _buffers->at(v).reset(); + _buffers->at(v).reset(NULL); // old boost is missing this + //_buffers->at(v).reset(); // old boost is missing this delete _buffers; } |