wininet: Properly clean up in InternetGetCookieExW if no cookies were found.
This commit is contained in:
parent
f50e543c7a
commit
1f12306144
|
@ -794,7 +794,7 @@ BOOL WINAPI InternetGetCookieExW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName,
|
|||
}else {
|
||||
TRACE("no cookies found for %s\n", debugstr_w(host));
|
||||
SetLastError(ERROR_NO_MORE_ITEMS);
|
||||
return FALSE;
|
||||
ret = FALSE;
|
||||
}
|
||||
|
||||
heap_free(cookie_set.cookies);
|
||||
|
|
Loading…
Reference in New Issue