diff options
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 3 |
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; |