From a9184f49d3226358042bd88e65e29adacc2ecf41 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 21 Aug 2007 12:58:10 +0000 Subject: r24595: Fix Coverity ID 393 In this error case we would have used "start" not having it initialized (This used to be commit 751834fff92e85a424152c1642b238daa3060dbd) --- source3/smbd/filename.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 73e3869f50..25ade52947 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -155,8 +155,7 @@ NTSTATUS unix_convert(connection_struct *conn, if (!*orig_path) { if (!(name = SMB_STRDUP("."))) { - result = NT_STATUS_NO_MEMORY; - goto fail; + return NT_STATUS_NO_MEMORY; } if (SMB_VFS_STAT(conn,name,&st) == 0) { *pst = st; -- cgit