git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3bb148
)
Release per-fsp data on file closure.
author
James Peach
<jpeach@apple.com>
Mon, 15 Oct 2007 20:59:37 +0000
(13:59 -0700)
committer
James Peach
<jpeach@samba.org>
Thu, 20 Dec 2007 06:19:55 +0000
(22:19 -0800)
(This used to be commit
9fead46b54519b3df78a869dbc99207046587d6a
)
source3/smbd/files.c
patch
|
blob
|
history
diff --git
a/source3/smbd/files.c
b/source3/smbd/files.c
index 179963dae9b5250995608386b2dc5b17cb98362f..95f01b88ce185945d31a753125192fea609d2c31 100644
(file)
--- a/
source3/smbd/files.c
+++ b/
source3/smbd/files.c
@@
-460,6
+460,11
@@
void file_free(files_struct *fsp)
ZERO_STRUCT(fsp_fi_cache);
}
+ /* Drop all remaining extensions. */
+ while (fsp->vfs_extension) {
+ vfs_remove_fsp_extension(fsp->vfs_extension->owner, fsp);
+ }
+
SAFE_FREE(fsp);
}