diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-08-21 12:58:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:08 -0500 |
commit | 751834fff92e85a424152c1642b238daa3060dbd (patch) | |
tree | 91671f86e156c9584df8b31b4206985f33a04a25 /source/smbd/filename.c | |
parent | 5e3d4df9bca069708d72f548dc5ddfc7708ac122 (diff) | |
download | samba-751834fff92e85a424152c1642b238daa3060dbd.tar.gz samba-751834fff92e85a424152c1642b238daa3060dbd.tar.xz samba-751834fff92e85a424152c1642b238daa3060dbd.zip |
r24595: Fix Coverity ID 393
In this error case we would have used "start" not having it initialized
Diffstat (limited to 'source/smbd/filename.c')
-rw-r--r-- | source/smbd/filename.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/smbd/filename.c b/source/smbd/filename.c index 73e3869f50b..25ade529476 100644 --- a/source/smbd/filename.c +++ b/source/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; |