summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-05-30 18:26:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:15 -0500
commitb990e788665ec2491056f3df66156aa7c51bdb1d (patch)
tree0401e4e1821e7462414bbb0bc653af888c6e6e78 /source3
parent7361c7a883646dd065eabf81e0b1dc60cc9d1f39 (diff)
downloadsamba-b990e788665ec2491056f3df66156aa7c51bdb1d.tar.gz
samba-b990e788665ec2491056f3df66156aa7c51bdb1d.tar.bz2
samba-b990e788665ec2491056f3df66156aa7c51bdb1d.zip
r15959: Ooops. Use the right file_free call...
Jeremy. (This used to be commit 1117a327bd4fb425d25ea63df782095701fb83bb)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 042d41453e..1331863bdf 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1368,7 +1368,7 @@ files_struct *open_file_ntcreate(connection_struct *conn,
fname);
if (lck == NULL) {
- file_free_fsp(fsp);
+ file_free(fsp);
DEBUG(0, ("Could not get share mode lock\n"));
set_saved_ntstatus(NT_STATUS_SHARING_VIOLATION);
return NULL;
@@ -1378,7 +1378,7 @@ files_struct *open_file_ntcreate(connection_struct *conn,
if (delay_for_oplocks(lck, fsp, 1, oplock_request)) {
schedule_defer_open(lck, request_time);
TALLOC_FREE(lck);
- file_free_fsp(fsp);
+ file_free(fsp);
return NULL;
}
@@ -1392,7 +1392,7 @@ files_struct *open_file_ntcreate(connection_struct *conn,
if (delay_for_oplocks(lck, fsp, 2, oplock_request)) {
schedule_defer_open(lck, request_time);
TALLOC_FREE(lck);
- file_free_fsp(fsp);
+ file_free(fsp);
return NULL;
}
}