From 1278f1957cbb44263c510f351875c968319ea3db Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 4 Jan 2017 16:29:49 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/16321 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- xlators/features/snapview-client/src/snapview-client.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators') diff --git a/xlators/features/snapview-client/src/snapview-client.c b/xlators/features/snapview-client/src/snapview-client.c index 6eb7cc071c2..3ddb284bfbb 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; } -- cgit