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>
This commit is contained in:
parent
9061ccf0a9
commit
1278f1957c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user