1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

TALLOC_FREE already checks for null.

This commit is contained in:
Jeremy Allison 2011-06-01 12:12:26 -07:00
parent 5a2b5b6cfe
commit 61e8c5949a

View File

@ -2172,9 +2172,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
open_access_mask);
if (!NT_STATUS_IS_OK(fsp_open)) {
if (lck != NULL) {
TALLOC_FREE(lck);
}
TALLOC_FREE(lck);
return fsp_open;
}