From f4ff82641baf75cf534531a4dc2eb588db1218cb Mon Sep 17 00:00:00 2001 From: Pranith K Date: Mon, 27 Sep 2010 05:57:51 +0000 Subject: mgmt/glusterd: delay probe till connection happens Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1607 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1607 --- rpc/rpc-lib/src/rpc-clnt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpc') diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c index 6548f73b0e4..856fcfb501e 100644 --- a/rpc/rpc-lib/src/rpc-clnt.c +++ b/rpc/rpc-lib/src/rpc-clnt.c @@ -1000,6 +1000,8 @@ rpc_clnt_init (struct rpc_clnt_config *config, dict_t *options, pthread_mutex_destroy (&rpc->lock); GF_FREE (rpc); rpc = NULL; + if (options) + dict_unref (options); goto out; } -- cgit