diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-04 17:55:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:37 +0200 |
commit | 4321e1965783a236f9c84bb6d3c1f230fff11430 (patch) | |
tree | ea81aa0bc00f8c2f97acbe052e82269111c5a1ae | |
parent | cd3e658d8251de17f3657670f2026d8b22e6a376 (diff) | |
download | samba-4321e1965783a236f9c84bb6d3c1f230fff11430.tar.gz samba-4321e1965783a236f9c84bb6d3c1f230fff11430.tar.bz2 samba-4321e1965783a236f9c84bb6d3c1f230fff11430.zip |
s3:smbd: make use of vfs_remove_all_fsp_extensions() in file_free()
metze
-rw-r--r-- | source3/smbd/files.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index fcdd740290..9937fc6c82 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -511,9 +511,7 @@ void file_free(struct smb_request *req, files_struct *fsp) } /* Drop all remaining extensions. */ - while (fsp->vfs_extension) { - vfs_remove_fsp_extension(fsp->vfs_extension->owner, fsp); - } + vfs_remove_all_fsp_extensions(fsp); /* this is paranoia, just in case someone tries to reuse the information */ |