mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Free case_state earlier
Found by a "set but never used" warning. Thanks to talloc_tos() this was not really a bug, but this way the code becomes much clearer. (This used to be commit b326f11dc39a8ce20d957aac976be0cf7108ba9d)
This commit is contained in:
parent
043a7e1774
commit
b1017bb551
@ -3080,6 +3080,8 @@ NTSTATUS create_file(connection_struct *conn,
|
||||
fname = converted_fname;
|
||||
}
|
||||
|
||||
TALLOC_FREE(case_state);
|
||||
|
||||
/* All file access must go through check_name() */
|
||||
|
||||
status = check_name(conn, fname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user