mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
[SDK:CMLIB] Use Hive->Allocate / Hive->Free where possible.
This commit is contained in:
parent
b79fbe2333
commit
6a03fb7099
2 changed files with 6 additions and 10 deletions
|
@ -194,7 +194,7 @@ CmpValueToData(IN PHHIVE Hive,
|
|||
if (BufferAllocated)
|
||||
{
|
||||
/* Free the buffer and bugcheck */
|
||||
CmpFree(Buffer, 0);
|
||||
Hive->Free(Buffer, 0);
|
||||
KeBugCheckEx(REGISTRY_ERROR, 8, 0, (ULONG_PTR)Hive, (ULONG_PTR)Value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue