From a0e9521b306a7e83d09de4616a66b49d259f0bbc 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/locking/locking.c b/source/locking/locking.c index 41fe1c96cc4..7f2494adb55 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; } -- 2.47.2