diff options
author | Anoop C S <anoopcs@redhat.com> | 2017-01-04 16:29:49 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2017-01-06 10:04:39 -0800 |
commit | 1278f1957cbb44263c510f351875c968319ea3db (patch) | |
tree | e36239d0a3b018d98a9a3e1485487bbb8d3e2808 /xlators/features | |
parent | 9061ccf0a906925f54f853f92ad609d8269232a2 (diff) | |
download | glusterfs-1278f1957cbb44263c510f351875c968319ea3db.tar.gz glusterfs-1278f1957cbb44263c510f351875c968319ea3db.tar.xz glusterfs-1278f1957cbb44263c510f351875c968319ea3db.zip |
features/uss: Remove redundant dict_unref
In case dict_set_dynstr_with_alloc fails, dict_unref is done
when exection jumps to label 'out'.
Change-Id: I083386b7f85207348ba0bc353b5d1036ab821a15
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/16321
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/snapview-client/src/snapview-client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/features/snapview-client/src/snapview-client.c b/xlators/features/snapview-client/src/snapview-client.c index 6eb7cc071c..3ddb284bfb 100644 --- a/xlators/features/snapview-client/src/snapview-client.c +++ b/xlators/features/snapview-client/src/snapview-client.c @@ -850,7 +850,6 @@ gf_svc_getxattr (call_frame_t *frame, xlator_t *this, loc_t *loc, if (ret) { op_errno = ENOMEM; - dict_unref (dict); goto out; } |