diff options
-rw-r--r-- | rpc/rpc-lib/src/rpc-clnt-ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.c b/rpc/rpc-lib/src/rpc-clnt-ping.c index af4a993476e..25629891379 100644 --- a/rpc/rpc-lib/src/rpc-clnt-ping.c +++ b/rpc/rpc-lib/src/rpc-clnt-ping.c @@ -266,7 +266,7 @@ rpc_clnt_ping (struct rpc_clnt *rpc) struct ping_local *local = NULL; conn = &rpc->conn; - local = GF_CALLOC (1, sizeof(struct ping_local), + local = GF_MALLOC (sizeof(struct ping_local), gf_common_ping_local_t); if (!local) return ret; |