summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-07-19 05:26:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:14 -0500
commitaddc07be7ddc0b82dd2aa7dbb07dd6277d3e4dc9 (patch)
treee512c6fb76c523cd1cbcc83744d46f3737dd28a2 /source3
parent4815e2c3441ce2cb18aa7fcb9ae1fe97bbcabd80 (diff)
downloadsamba-addc07be7ddc0b82dd2aa7dbb07dd6277d3e4dc9.tar.gz
samba-addc07be7ddc0b82dd2aa7dbb07dd6277d3e4dc9.tar.bz2
samba-addc07be7ddc0b82dd2aa7dbb07dd6277d3e4dc9.zip
r17130: Remove unneeded unlock call.
Jeremy. (This used to be commit b3b5aec0eef3bdcae75ce79ffd3ecf21fb1279e7)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c3
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;
}