diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index f4210d7417..fc6a94c5e8 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2337,7 +2337,6 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, if (NT_STATUS_EQUAL(fsp_open, NT_STATUS_RETRY)) { schedule_async_open(request_time, req); } - TALLOC_FREE(lck); return fsp_open; } @@ -2351,7 +2350,6 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, * just fail the open to prevent creating any problems * in the open file db having the wrong dev/ino key. */ - TALLOC_FREE(lck); fd_close(fsp); DEBUG(1,("open_file_ntcreate: file %s - dev/ino mismatch. " "Old (dev=0x%llu, ino =0x%llu). " |