diff options
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/client_t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/client_t.c b/libglusterfs/src/client_t.c index 046f72e021d..eb9e7a78b22 100644 --- a/libglusterfs/src/client_t.c +++ b/libglusterfs/src/client_t.c @@ -236,7 +236,7 @@ gf_client_get (xlator_t *this, struct rpcsvc_auth_data *cred, char *client_uid, client->auth.flavour = cred->flavour; if (cred->flavour != AUTH_NONE) { client->auth.data = - GF_CALLOC (1, cred->datalen, + GF_MALLOC (cred->datalen, gf_common_mt_client_t); if (client->auth.data == NULL) { GF_FREE (client->scratch_ctx.ctx); |