diff options
author | David Robillard <d@drobilla.net> | 2017-02-12 15:04:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-02-12 15:31:47 +0100 |
commit | b1198f0842e6e4d6b1c01f07d91b42ef4a212788 (patch) | |
tree | 93fdf4da89a6f5f634707fb8c989e0d9ee1a3c65 /src/server/internals/Time.cpp | |
parent | 81d45973412c675e3c0b4a10b64d811a219feeae (diff) | |
download | ingen-b1198f0842e6e4d6b1c01f07d91b42ef4a212788.tar.gz ingen-b1198f0842e6e4d6b1c01f07d91b42ef4a212788.tar.bz2 ingen-b1198f0842e6e4d6b1c01f07d91b42ef4a212788.zip |
Use smart pointers to handle real-time memory disposal
Diffstat (limited to 'src/server/internals/Time.cpp')
-rw-r--r-- | src/server/internals/Time.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/internals/Time.cpp b/src/server/internals/Time.cpp index 0f4bdd56..2da2a2ae 100644 --- a/src/server/internals/Time.cpp +++ b/src/server/internals/Time.cpp @@ -45,7 +45,7 @@ TimeNode::TimeNode(InternalPlugin* plugin, : InternalBlock(plugin, symbol, false, parent, srate) { const Ingen::URIs& uris = bufs.uris(); - _ports = new Raul::Array<PortImpl*>(1); + _ports = bufs.maid().make_managed<Ports>(1); _notify_port = new OutputPort( bufs, this, Raul::Symbol("notify"), 0, 1, |