1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3: Remove code TALLOC_FREE already does

This commit is contained in:
Volker Lendecke 2012-04-26 18:54:37 +02:00
parent 307e2d1387
commit 21985a7f10

View File

@ -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;
}