diff options
author | David Robillard <d@drobilla.net> | 2010-02-04 23:53:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-04 23:53:37 +0000 |
commit | 16edd7b1272e91a5ef28e8b9211b8d5721fafe23 (patch) | |
tree | deb678753bb3e74c9f8da1121b7a9c79c13ec753 /src/engine/PortImpl.hpp | |
parent | 6f3a80bb9c80b8e0cf486d198c2e107512b2cc46 (diff) | |
download | ingen-16edd7b1272e91a5ef28e8b9211b8d5721fafe23.tar.gz ingen-16edd7b1272e91a5ef28e8b9211b8d5721fafe23.tar.bz2 ingen-16edd7b1272e91a5ef28e8b9211b8d5721fafe23.zip |
Fix a bunch of memory leaks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2429 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PortImpl.hpp')
-rw-r--r-- | src/engine/PortImpl.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp index 06887f4a..ceb556c1 100644 --- a/src/engine/PortImpl.hpp +++ b/src/engine/PortImpl.hpp @@ -50,6 +50,8 @@ class BufferFactory; class PortImpl : public GraphObjectImpl, public Ingen::Shared::Port { public: + ~PortImpl(); + /** A port's parent is always a node, so static cast should be safe */ NodeImpl* parent_node() const { return (NodeImpl*)_parent; } @@ -135,9 +137,6 @@ protected: // Dynamic polyphony Raul::Array<BufferFactory::Ref>* _prepared_buffers; - - friend class Engine; - virtual ~PortImpl(); }; |