mirror of
https://github.com/reactos/wine.git
synced 2025-02-15 02:18:51 +00:00
wininet: Added missing LeaveCriticalSection to set_cookie (coverity).
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9a85a84765
commit
0fdba71bed
@ -1003,6 +1003,7 @@ DWORD set_cookie(substr_t domain, substr_t path, substr_t name, substr_t data, D
|
||||
if ((thisCookie->flags & INTERNET_COOKIE_HTTPONLY) && !(flags & INTERNET_COOKIE_HTTPONLY)) {
|
||||
WARN("An attempt to override httponly cookie\n");
|
||||
SetLastError(ERROR_INVALID_OPERATION);
|
||||
LeaveCriticalSection(&cookie_cs);
|
||||
return COOKIE_STATE_REJECT;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user