diff options
-rw-r--r-- | source3/smbd/open.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 2c259e7822..53178956cd 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1549,9 +1549,6 @@ NTSTATUS open_file_ntcreate(connection_struct *conn, access_mask); if (!NT_STATUS_IS_OK(fsp_open)) { - if (lck != NULL) { - TALLOC_FREE(lck); - } file_free(fsp); return fsp_open; } |