diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-03-09 19:35:14 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-09 10:52:10 -0700 |
commit | 8612553ffe3d87481c70911a9b8491fb5f4139b5 (patch) | |
tree | 9cfc7abf9f78649c7b6339ee36f1acacd0018e77 /xlators/storage/posix/src/posix-helpers.c | |
parent | 83eab209d82c92a2676d1f794d5d24af0ac5bbab (diff) |
Fix dictionary leaks in ancestry-building code.
Change-Id: I7a4a24ed95f897d1c14d89f3869c20ba40f85b7f
BUG: 1188636
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9839
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-helpers.c')
-rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c index 2920f318709..ea469bf6109 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -641,7 +641,7 @@ posix_lookup_xattr_fill (xlator_t *this, const char *real_path, loc_t *loc, list = _gf_true; } - xattr = get_new_dict(); + xattr = dict_new (); if (!xattr) { goto out; } |