summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/posix/pvfs_open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c
index 327f096e7c..d0e7d82117 100644
--- a/source4/ntvfs/posix/pvfs_open.c
+++ b/source4/ntvfs/posix/pvfs_open.c
@@ -1258,6 +1258,8 @@ NTSTATUS pvfs_change_create_options(struct pvfs_state *pvfs,
f->handle->create_options = create_options;
}
+ talloc_free(lck);
+
return status;
}