summaryrefslogtreecommitdiffstats
path: root/src/server/events/CreatePort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/CreatePort.cpp')
-rw-r--r--src/server/events/CreatePort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp
index 2782d654..49ceed95 100644
--- a/src/server/events/CreatePort.cpp
+++ b/src/server/events/CreatePort.cpp
@@ -140,9 +140,9 @@ CreatePort::pre_process()
_engine.store()->add(_patch_port);
if (_is_output) {
- _patch->add_output(new Raul::List<PortImpl*>::Node(_patch_port));
+ _patch->add_output(*_patch_port);
} else {
- _patch->add_input(new Raul::List<PortImpl*>::Node(_patch_port));
+ _patch->add_input(*_patch_port);
}
if (!_patch->parent()) {