diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-26 18:54:37 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-26 21:26:27 +0200 |
commit | 21985a7f10d5bea6d80b3063c238f2c38b96e76d (patch) | |
tree | fe74ce4c5b03d5657960c487bbd0ce7195e2fe1f | |
parent | 307e2d13878a1f7b3db62f2fb33d30981be55a1e (diff) | |
download | samba-21985a7f10d5bea6d80b3063c238f2c38b96e76d.tar.gz samba-21985a7f10d5bea6d80b3063c238f2c38b96e76d.tar.bz2 samba-21985a7f10d5bea6d80b3063c238f2c38b96e76d.zip |
s3: Remove code TALLOC_FREE already does
-rw-r--r-- | source3/smbd/oplock.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index b181fb79ba..173c53e2ec 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -668,11 +668,7 @@ void reply_to_oplock_break_requests(files_struct *fsp) SAFE_FREE(fsp->pending_break_messages); fsp->num_pending_break_messages = 0; - if (fsp->oplock_timeout != NULL) { - /* Remove the timed event handler. */ - TALLOC_FREE(fsp->oplock_timeout); - fsp->oplock_timeout = NULL; - } + TALLOC_FREE(fsp->oplock_timeout); return; } |