1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r23764: Do restore_case_semantics in an error path. Jeremy, please check!

This commit is contained in:
Volker Lendecke 2007-07-09 13:04:44 +00:00 committed by Gerald (Jerry) Carter
parent 0ae6ae4ee8
commit 3b5422c9a4

View File

@ -731,6 +731,7 @@ int reply_ntcreate_and_X(connection_struct *conn,
/* Can't open a temp directory. IFS kit test. */
if (file_attributes & FILE_ATTRIBUTE_TEMPORARY) {
restore_case_semantics(conn, file_attributes);
END_PROFILE(SMBntcreateX);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}