mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 17:32:32 +00:00
[COVERITY][SETUPAPI] Release the blocks of memory when done
pRange variable allocates blocks of memory from the heap by HeapAlloc() although this resource is never freed afterwards. COVERITY CID 1427056
This commit is contained in:
parent
b6262a25fd
commit
0bc8e2a5bb
1 changed files with 2 additions and 1 deletions
|
@ -1075,7 +1075,8 @@ CM_Add_Range(
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, pRange);
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue