From c83c763732b2f493aa451db3390c38aafa1eaa15 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Mar 2015 22:50:11 +0000 Subject: Fix launching GUI with no engine. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5640 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/SocketClient.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ingen/client') 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(); } - SocketClient* client = new SocketClient(*world, uri, sock, respondee); - return SPtr(client); + return SPtr(new SocketClient(*world, uri, sock, respondee)); } static void register_factories(World* world) { -- cgit v1.2.1