summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-layout.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@redhat.com>2014-01-27 14:52:37 -0600
committerAnand Avati <avati@redhat.com>2014-02-03 17:22:15 -0800
commitd2b0a016e713aea8920abe23f6113517d78e260a (patch)
tree88e4d5d174b0c09fbceb9cbf531f9f6f67cbd246 /xlators/cluster/dht/src/dht-layout.c
parentbbe02d77a5e7fb587787b9bbc06d28ca8419afb3 (diff)
cluster/dht: Abandoned memory if a call fails
If the call to dict_set_dynstr() fails, the memory indicated by xattr_buf will not have been stored in the dictionary, so it must be freed. Patch set 2: Added a missed call to GF_FREE(). Fixed a formatting consistency issue. Patch set 3: Cleaned a minor style nit. BUG: 789278 CID: 1124786 Change-Id: Id1f85bd2cbfac0b8727a3f6901f0a50ba921817d Signed-off-by: Christopher R. Hertel <crh@redhat.com> Reviewed-on: http://review.gluster.org/6826 Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-layout.c')
0 files changed, 0 insertions, 0 deletions