From b236fa1adbee104ec91b892d9a8d9ce29d5a546d Mon Sep 17 00:00:00 2001 From: Ashish Pandey Date: Sat, 4 Nov 2017 20:44:04 +0530 Subject: snapview: Coverity Fixes Coverity ID: 259 Coverity ID: 163 Change-Id: I7f7753b870715e1176826fb8dfbe81119750d113 BUG: 789278 Signed-off-by: Ashish Pandey --- xlators/features/snapview-client/src/snapview-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/snapview-client/src/snapview-client.c') diff --git a/xlators/features/snapview-client/src/snapview-client.c b/xlators/features/snapview-client/src/snapview-client.c index d9bd56814bf..63ed160bd71 100644 --- a/xlators/features/snapview-client/src/snapview-client.c +++ b/xlators/features/snapview-client/src/snapview-client.c @@ -1716,7 +1716,7 @@ gf_svc_readdirp_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, out: SVC_STACK_UNWIND (readdirp, frame, op_ret, op_errno, &entries, - local->xdata); + local ? local->xdata : NULL); gf_dirent_free (&entries); -- cgit