diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-08 17:42:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-09 12:06:39 +0200 |
commit | 1d83fbffae23325961fd80873c93c06cae5f7a4e (patch) | |
tree | 52fedbdd7238c0e6eb4535c49296713b377ff059 /source3/smbd/files.c | |
parent | 96a5d169dd3a8746270a9e086717ab6206ab02c6 (diff) | |
download | samba-1d83fbffae23325961fd80873c93c06cae5f7a4e.tar.gz samba-1d83fbffae23325961fd80873c93c06cae5f7a4e.tar.xz samba-1d83fbffae23325961fd80873c93c06cae5f7a4e.zip |
Remove a pointless level of indirection
Diffstat (limited to 'source3/smbd/files.c')
-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 8d06e20f810..519f4945f22 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -400,9 +400,7 @@ void file_free(files_struct *fsp) string_free(&fsp->fsp_name); - if (fsp->fake_file_handle) { - destroy_fake_file_handle(&fsp->fake_file_handle); - } + TALLOC_FREE(fsp->fake_file_handle); if (fsp->fh->ref_count == 1) { SAFE_FREE(fsp->fh); |