crypt32: Tiny fixes.
This commit is contained in:
parent
5eadd8c791
commit
04ed9c2a57
@ -132,7 +132,6 @@ BOOL ContextPropertyList_SetProperty(PCONTEXT_PROPERTY_LIST list, DWORD id,
|
|||||||
{
|
{
|
||||||
prop->propID = id;
|
prop->propID = id;
|
||||||
prop->cbData = cbData;
|
prop->cbData = cbData;
|
||||||
list_init(&prop->entry);
|
|
||||||
prop->pbData = data;
|
prop->pbData = data;
|
||||||
list_add_tail(&list->properties, &prop->entry);
|
list_add_tail(&list->properties, &prop->entry);
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
@ -158,6 +157,7 @@ void ContextPropertyList_RemoveProperty(PCONTEXT_PROPERTY_LIST list, DWORD id)
|
|||||||
list_remove(&prop->entry);
|
list_remove(&prop->entry);
|
||||||
CryptMemFree(prop->pbData);
|
CryptMemFree(prop->pbData);
|
||||||
CryptMemFree(prop);
|
CryptMemFree(prop);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LeaveCriticalSection(&list->cs);
|
LeaveCriticalSection(&list->cs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user