summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/modules/onefs_open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c
index 5d7b42281c..dc8bf10a94 100644
--- a/source3/modules/onefs_open.c
+++ b/source3/modules/onefs_open.c
@@ -977,7 +977,6 @@ NTSTATUS onefs_open_file_ntcreate(connection_struct *conn,
create_options);
if (NT_STATUS_IS_OK(status)) {
- TALLOC_FREE(lck);
if (pinfo) {
*pinfo = FILE_WAS_OPENED;
}