From e5aa3cf0c184c7be2b8c9138269e3f097f02c323 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 6 May 2009 12:00:49 +0200 Subject: [PATCH] Fix Coverity ID 897: REVERSE_INULL --- source/locking/locking.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source/locking/locking.c b/source/locking/locking.c index 41fe1c9..7f2494a 100644 --- a/source/locking/locking.c +++ b/source/locking/locking.c @@ -1364,11 +1364,11 @@ bool set_delete_on_close(files_struct *fsp, bool delete_on_close, const UNIX_USE if (fsp->conn->admin_user) { tok_copy = copy_unix_token(lck, tok); - tok_copy->uid = (uid_t)0; if (tok_copy == NULL) { TALLOC_FREE(lck); return false; } + tok_copy->uid = (uid_t)0; tok = tok_copy; } -- 1.5.5