summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-21 12:58:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:08 -0500
commita9184f49d3226358042bd88e65e29adacc2ecf41 (patch)
tree6270df85bef58f7562325620b072c820bb6c9ef5 /source3
parent18a48df488f5fcf9b55abf61b09778bdc15373d7 (diff)
downloadsamba-a9184f49d3226358042bd88e65e29adacc2ecf41.tar.gz
samba-a9184f49d3226358042bd88e65e29adacc2ecf41.tar.bz2
samba-a9184f49d3226358042bd88e65e29adacc2ecf41.zip
r24595: Fix Coverity ID 393
In this error case we would have used "start" not having it initialized (This used to be commit 751834fff92e85a424152c1642b238daa3060dbd)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/filename.c3
1 files changed, 1 insertions, 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;