From b1198f0842e6e4d6b1c01f07d91b42ef4a212788 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 15:04:20 +0100 Subject: Use smart pointers to handle real-time memory disposal --- src/server/internals/Controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/internals/Controller.cpp') diff --git a/src/server/internals/Controller.cpp b/src/server/internals/Controller.cpp index 4b6f9c02..0366cbf0 100644 --- a/src/server/internals/Controller.cpp +++ b/src/server/internals/Controller.cpp @@ -51,7 +51,7 @@ ControllerNode::ControllerNode(InternalPlugin* plugin, , _learning(false) { const Ingen::URIs& uris = bufs.uris(); - _ports = new Raul::Array(7); + _ports = bufs.maid().make_managed(7); const Atom zero = bufs.forge().make(0.0f); const Atom one = bufs.forge().make(1.0f); -- cgit v1.2.1