Skip to content
Snippets Groups Projects
Commit 04ed9c2a authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard
Browse files

crypt32: Tiny fixes.

parent 5eadd8c7
Branches
Tags wine-960616
No related merge requests found
......@@ -132,7 +132,6 @@ BOOL ContextPropertyList_SetProperty(PCONTEXT_PROPERTY_LIST list, DWORD id,
{
prop->propID = id;
prop->cbData = cbData;
list_init(&prop->entry);
prop->pbData = data;
list_add_tail(&list->properties, &prop->entry);
ret = TRUE;
......@@ -158,6 +157,7 @@ void ContextPropertyList_RemoveProperty(PCONTEXT_PROPERTY_LIST list, DWORD id)
list_remove(&prop->entry);
CryptMemFree(prop->pbData);
CryptMemFree(prop);
break;
}
}
LeaveCriticalSection(&list->cs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment