summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'ingen')
-rw-r--r--ingen/client/SocketClient.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp
index e6ed6c6c..3a7a7e69 100644
--- a/ingen/client/SocketClient.hpp
+++ b/ingen/client/SocketClient.hpp
@@ -60,8 +60,7 @@ public:
% sock->uri() % strerror(errno));
return SPtr<Interface>();
}
- SocketClient* client = new SocketClient(*world, uri, sock, respondee);
- return SPtr<Interface>(client);
+ return SPtr<Interface>(new SocketClient(*world, uri, sock, respondee));
}
static void register_factories(World* world) {