diff options
author | Jeremy Allison <jra@samba.org> | 2006-05-30 18:38:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:15 -0500 |
commit | 73cc5f1e259fac9656df6a030a91b5005cba1da4 (patch) | |
tree | caf7a94c0a27c435fdbfefd2499f368e9f168a86 /source3 | |
parent | b990e788665ec2491056f3df66156aa7c51bdb1d (diff) | |
download | samba-73cc5f1e259fac9656df6a030a91b5005cba1da4.tar.gz samba-73cc5f1e259fac9656df6a030a91b5005cba1da4.tar.bz2 samba-73cc5f1e259fac9656df6a030a91b5005cba1da4.zip |
r15960: Don't double-free (ensure we always free file_fsp in
the same place on error - I missed the extra free in
delay_for_oplocks).
Jeremy.
(This used to be commit 146a2648156563b41642d42c46aff401e435a42b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 1331863bdf..633e70ac31 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -703,7 +703,6 @@ static BOOL delay_for_oplocks(struct share_mode_lock *lck, if (!ret) { DEBUG(3, ("Could not send oplock break message\n")); } - file_free(fsp); } return delay_it; |