summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client-helpers.c')
-rw-r--r--xlators/protocol/client/src/client-helpers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c
index 4c1ac1baa5c..f1c7c71cd2b 100644
--- a/xlators/protocol/client/src/client-helpers.c
+++ b/xlators/protocol/client/src/client-helpers.c
@@ -190,6 +190,8 @@ unserialize_rsp_direntp (xlator_t *this, fd_t *fd,
if (!buf)
goto out;
+ entry->dict = dict_new ();
+
ret = dict_unserialize (buf, trav->dict.dict_len,
&entry->dict);
if (ret < 0) {