git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e099ddd
)
s3:smbd: close the low level fd of the base_fsp, if the file was created
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Dec 2008 22:28:13 +0000
(14:28 -0800)
committer
Michael Adam
<obnox@samba.org>
Tue, 16 Dec 2008 15:13:58 +0000
(16:13 +0100)
metze
source/smbd/open.c
patch
|
blob
|
history
diff --git
a/source/smbd/open.c
b/source/smbd/open.c
index c4b244fdb07d36ffe8eecda5738e5c78a7d2ae22..dde273d439356409e0dd9ebb4ae25a60360a6222 100644
(file)
--- a/
source/smbd/open.c
+++ b/
source/smbd/open.c
@@
-2751,6
+2751,8
@@
NTSTATUS create_file_unixpath(connection_struct *conn,
"%s\n", base, nt_errstr(status)));
goto fail;
}
+ /* we don't need to low level fd */
+ fd_close(base_fsp);
}
/*