From 2e579b8220003d0fd5cf78d2f50c7baac2ccbe3f Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Thu, 1 Nov 2018 13:53:44 -0700 Subject: [PATCH] Remove double allocation Signed-off-by: Derek Collison --- server/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/client.go b/server/client.go index fcd12df6..cad86fbf 100644 --- a/server/client.go +++ b/server/client.go @@ -327,7 +327,6 @@ func (c *client) initClient() { c.ncs = fmt.Sprintf("%s - cid:%d", conn, c.cid) case ROUTER: c.ncs = fmt.Sprintf("%s - rid:%d", conn, c.cid) - c.in.rcache = make(map[string]*routeCache, 32) } }