Commit 4d22d685 authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

advapi32: Fix memory leak on Mac OS (Clang).

parent b8243b01
......@@ -273,6 +273,7 @@ static DWORD mac_read_credential_from_item(SecKeychainItemRef item, BOOL require
if (!user_name_present)
{
WARN("no kSecAccountItemAttr for item\n");
SecKeychainItemFreeAttributesAndData(attr_list, cred_blob);
return ERROR_NOT_FOUND;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment