diff options
Diffstat (limited to 'source3/smbd')
-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 */ |